Commit Graph
51 Commits
Author SHA1 Message Date
danzel 7656d10187 Improve test case 2013-01-09 11:21:58 +13:00
danzel 8c60381d23 Add a test case for #114 2013-01-09 11:21:58 +13:00
danzel f72bb13324 Leaflet 0.4.4 -> 0.4.5 2012-11-13 14:36:21 +13:00
danzel eb8b2803f5 Fix formatting in bug 2012-11-01 09:45:16 +13:00
danzel 94a50d9654 Add a geojson example 2012-10-19 10:08:26 +13:00
danzel a1a2a99519 Make add-1000-after use addLayers to be even faster 2012-10-11 10:15:58 +13:00
danzel 9c4c4f9a25 Add a test case for #69 2012-09-28 09:27:21 +12:00
danzel 68401741f1 make zoomToShowLayer choose a random marker 2012-09-20 11:28:40 +12:00
danzel c077de14b5 Add test case for #65 2012-09-20 10:55:57 +12:00
danzel 8753dc0ab2 Add test case for #63 2012-09-20 10:23:34 +12:00
danzel b50b287c92 Fix #64 and add a testcase 2012-09-20 10:12:01 +12:00
danzel 4b12ba6274 Add another edge test case and fix. 2012-09-14 10:41:37 +12:00
danzel 122571d50c Add a zoomtoshowlayer example 2012-09-11 16:29:56 +12:00
danzel fb165b18b1 Fix and test for #49, clearLayers wasn't unspiderfying. 2012-09-07 14:10:05 +12:00
danzel dc16362b6c everything example should be animated 2012-09-06 16:19:54 +12:00
danzel 336d7423d7 Add a test case for #51 and #43 2012-09-06 16:12:58 +12:00
danzel b0174aa1a1 Add a test case for #53 #54. 2012-09-06 15:32:29 +12:00
Dave Leaver 068d323b9c Merge pull request #42 from awinograd/master
Add an option to allow single markers to be clusters themselves
2012-09-02 14:17:15 -07:00
Alec Winograd 068f9f9f8a Add option singleMarkerMode
Defaults to false. Setting to true causes markers
to appear as clusters with count 1. This is done
by overriding the Marker's icon to the Group's
iconCreateFunction.
2012-08-31 23:09:07 -07:00
danzel a1c55be696 Instead of passing childCount to iconCreateFunction, pass the markerCluster instead. Allows the user more flexibility with deciding on the icon. 2012-08-30 11:45:44 +12:00
danzel 8e9aefb6d4 Add an example showing disableClusteringAtZoom 2012-08-27 14:16:56 +12:00
danzel 4227aa5523 Add an example using disableClusteringAtZoom 2012-08-27 14:12:31 +12:00
danzel 80976df206 Update all examples to work and use the CDN leaflet 2012-08-13 10:39:38 +12:00
danzel 195340c8be Custom example doesn't need the default styles, just the MarkerCluster.css ones (for animations) 2012-08-13 10:15:13 +12:00
Ryan Murphy 585ac5be60 Fixed custom example; needed updated 'src' links 2012-08-10 11:37:53 -05:00
danzel b1ce2775b6 Add some styles so the poor people who use IE <= 8 can see the clusters (Surprised no one has complained about this yet!) 2012-08-02 10:59:54 +12:00
danzel fd3166fe2e Add a mobile example 2012-08-02 10:28:44 +12:00
danzel f07e684405 Fix these, woops 2012-07-26 11:33:28 +12:00
danzel 3449fabc8c Move defaults in and make them proper options like in leaflet. Removes silly .Default file 2012-07-26 11:18:12 +12:00
danzel d64ec9191b Add some (much) larger examples. IE bombs out on 50000 usually, but chrome handles them all fine ;) 2012-07-26 10:49:44 +12:00
danzel 9a650502be Make the built version work and use it for some of the samples 2012-07-25 10:53:27 +12:00
danzel 6ac3974ce8 Move css files 2012-07-25 10:49:02 +12:00
danzel 6992ce1f64 Optimize the realworld data storage 2012-07-25 09:44:02 +12:00
danzel 35f112b2bf Add a realworld example using address points from LINZ map data. Clusterer makes a mess of it, but it provides a good starting point for fixing it! 2012-07-24 15:21:40 +12:00
danzel 184a919fec Default examples should work in IE 2012-07-24 14:58:21 +12:00
danzel 6f12b24d66 Fix up opacity bug in the custom example 2012-07-24 14:45:10 +12:00
danzel ad9ee303a5 Do another pass on the README to bring it up to date with the events changes etc. 2012-07-24 14:22:30 +12:00
danzel 5d9b427801 Make everything work, add a custom example showing doing everything custom. 2012-07-24 14:14:27 +12:00
danzel bca91c6dc9 Move defaults out to their own file and use them for marker-clustering-everything. Gives people an easy way to use clustering with all the defaults. 2012-07-24 13:46:35 +12:00
danzel 602a5ae1d2 Make events for clusters start with cluster, clusterclick etc. 2012-07-24 13:26:47 +12:00
danzel 45d9f8f841 Starting on spidifier based on https://github.com/jawj/OverlappingMarkerSpiderfier-Leaflet (Thanks jawj!) 2012-07-23 15:44:26 +12:00
danzel 643757df40 Give the everything example add/remove buttons 2012-07-20 16:27:50 +12:00
danzel e0bcc5e56c Readme/Example updates 2012-07-18 11:55:21 +12:00
danzel db3b7f2fc2 Tidy up examples. Add a -everything example which shows boundarys on mouse over and zooms on click. 2012-07-18 11:46:51 +12:00
danzel f03acfaecf Should probably have this code compiling before I go refactoring 2012-07-18 11:00:05 +12:00
danzel e32c4de14c Add QuickHull and use it for calculating convex hulls. (From http://en.literateprograms.org/Quickhull_(Javascript)?oldid=18434 - Referenced in code) Needs tidying up to use LatLng objects rather than having to change back and forth 2012-07-18 10:52:47 +12:00
danzel 4e5c29f28a Add an example for zoomToBounds 2012-07-17 14:09:45 +12:00
danzel 5c6520c81e Move default styles out to a CSS file. Tidy up example a bit 2012-07-16 16:17:49 +12:00
danzel 4df7bdc9c2 Working towards removing markers from a MarkerClusterGroup. Currently works for markers that are not in a cluster or those that are that are in clusters of size >= 2. 2012-07-12 15:20:55 +12:00
danzel 660ea6c93d Partially working addLayer after clustering support 2012-07-11 15:07:15 +12:00