Commit Graph
281 Commits
Author SHA1 Message Date
danzel 02a869bf60 Fix a crash that can happen if you remove the layer from the map while a zoom animation is going on. Fixes #36 2012-08-27 13:32:36 +12:00
danzel 1ade0834b8 Update the build 2012-08-27 13:03:21 +12:00
danzel c1aff5cba2 Make getNearObject always return the closest point to make the clusters do stupid things less often 2012-08-27 13:02:45 +12:00
danzel 8ac19a8f65 Add enough layers support that you can use geojson to add your maptags. fixes #45 refs #13 2012-08-27 11:47:51 +12:00
Alec Winograd 208c85ca79 Utilize option to clusterSingleMarkers 2012-08-20 16:33:08 -07:00
Alec Winograd 9ad78ab809 Add option to clusterSingleMarkers 2012-08-20 16:31:52 -07:00
danzel 32355c2f24 Update build. 2012-08-20 10:59:37 +12:00
danzel 167ef4aa1e Remove coverage polygon from map when we are removed from the map. Fixes #38 2012-08-20 10:59:27 +12:00
danzel 492d8a0d27 Support adding markers while we aren't on the map. 2012-08-20 10:38:59 +12:00
danzel 439394c1d8 Update build 2012-08-20 10:19:40 +12:00
danzel b392fb7913 Fix for jshint 2012-08-20 10:19:28 +12:00
danzel 9a6e7004b0 Respect disableClusteringAtZoom when adding individual layers 2012-08-20 10:18:34 +12:00
danzel 0b6b7ed560 Add options.disableClusteringAtZoom. Only implemented for initial clustering currently 2012-08-20 10:00:31 +12:00
danzel 3e69cab1f2 Remove included leaflet, no longer required 2012-08-13 10:40:24 +12:00
danzel 834e9023e5 Update build 2012-08-13 10:40:04 +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
danzel fc1babc776 Increase default maxClusterRadius to look nicer with new centering changes. 2012-08-13 10:13:41 +12:00
danzel a498cd47c2 Clean up adding markers to existing clusters with the new centering changes 2012-08-13 10:13:41 +12:00
danzel 415497fdcf As we no longer move cluster we don't need to update them in the DistanceGrid as we cluster 2012-08-13 10:13:40 +12:00
Vladimir Agafonkinanddanzel f3fddb835d use first point as centers while clustering, use weighted centers on display 2012-08-13 10:13:40 +12:00
Ryan Murphy 585ac5be60 Fixed custom example; needed updated 'src' links 2012-08-10 11:37:53 -05:00
danzel eee1aba847 Update Build 2012-08-10 16:05:57 +12:00
danzel aed2816986 Clone the LatLng rather than taking a reference so we don't break it when we edit it. 2012-08-10 16:05:49 +12:00
danzel 7b568d10e6 Merge remote-tracking branch 'mourner/cluster-centers' 2012-08-10 16:00:06 +12:00
danzel f9976ac8fc Update Build. 2012-08-10 15:58:57 +12:00
danzel 777c1d264c Fix up addLayer with the gridder optimizations. 2012-08-10 15:58:44 +12:00
mourner 17522d8fc3 cleanup code a bit 2012-08-09 23:12:30 +03:00
Vladimir Agafonkin 755cd3cb64 calculate point average as cluster center instead of bounds center 2012-08-09 18:10:20 +03:00
Vladimir Agafonkin 79737cdab5 remove DistanceGrid#replaceObject (not needed) 2012-08-09 17:02:37 +03:00
Vladimir Agafonkin 58aaf37924 improve performance 4-20 times with grid-based near neighbor search 2012-08-09 16:24:51 +03:00
danzel 8b42747690 Fix up styles for IE again, works better for 7/8 now. 2012-08-07 13:47:23 +12:00
danzel 1d88075769 Update the build 2012-08-07 11:32:18 +12:00
danzel 7254719ac6 Fix #27 for touch zoom 2012-08-07 11:31:39 +12:00
danzel c698e2ed54 Working on #27. This fixes the animation on desktop but not mobile. 2012-08-07 11:19:39 +12:00
danzel 3ef5afc11f Make clearLayers work when we aren't on the map. Fixes #26 2012-08-07 10:15:36 +12:00
danzel af61861f07 Update leaflet with master + https://github.com/danzel/Leaflet/tree/oldie-fixes 2012-08-02 11:37:42 +12:00
danzel 0a18edad12 Get rid of the transparent cluster bg in IE CSS, breaks when a cluster is clicked. They can live without it 2012-08-02 11:06:28 +12: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 a0d3ad92cf Update the build 2012-08-02 10:16:22 +12:00
danzel 755180b753 Add clearLayers implementation. Refs #26 2012-08-02 10:16:02 +12:00
danzel b54a767eec Add 0.4.2 requirement. 2012-08-02 09:07:17 +12:00
danzel eeb8f91042 Update the build 2012-08-01 15:17:51 +12:00
danzel 5b5d0a9a6c Partially fix the animation when a marker is added to an existing cluster. 2012-08-01 15:17:32 +12:00
danzel 1be9202f05 Revert back to updating the latlng of a marker while it is spiderfied so that popups created on markers that are spidferfied are in the right place. 2012-08-01 15:17:09 +12:00
danzel 603c40cab3 Update leaflet build with master + https://github.com/CloudMade/Leaflet/issues/861 2012-08-01 14:12:11 +12:00
danzel 94e3d4f6dd Update the build 2012-07-30 11:59:18 +12:00
danzel e0d2616925 Support being added and removed to the map 2012-07-30 11:59:05 +12:00
danzel f0414083dd Update build and update to build :) 2012-07-30 11:12:54 +12:00