Commit Graph
34 Commits
Author SHA1 Message Date
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
danzel 383d961cf7 Add initial code from https://github.com/danzel/Leaflet/compare/clustered-markers 2012-07-11 14:13:46 +12:00