Commit Graph

  • c001bfb5f6 Make this a forwards loop so that a clear+re-add creates the same clusters danzel 2012-09-11 15:11:15 +12:00
  • ac504d69f6 working clearLayers danzel 2012-09-11 14:51:09 +12:00
  • fa4d9913f6 New, working removeLayer code danzel 2012-09-11 14:43:26 +12:00
  • 761d265732 Working on removeLayer, works so long as no cluster ever needs removing danzel 2012-09-11 11:28:14 +12:00
  • c683bac226 Fix up adding markers animatedly. Trash some old not used any more code danzel 2012-09-11 11:03:35 +12:00
  • 3ea3d08aed Get addLayer (after adding to map) working when using animateAddingMarkers:false danzel 2012-09-11 10:10:46 +12:00
  • ed28eedfb1 Fix up MarkerCluster latlng saving/updating danzel 2012-09-10 17:17:17 +12:00
  • 824a31deaf Refactoring EVERYTHING to work towards #43 danzel 2012-09-10 17:11:41 +12:00
  • 6fe95a3a42 Use the _wLatLng of a child cluster for its weighting. Keep the same cLatLng as our child clusters. danzel 2012-09-10 16:09:45 +12:00
  • 104ee3220d updated dist vieron 2012-09-09 14:32:49 +02:00
  • b71b8727df gridster: moving down widgets under placeholder. Related to #4. vieron 2012-09-09 14:21:31 +02:00
  • dc61567454 collision: ignore min_area in collision sorting vieron 2012-09-08 13:58:47 +02:00
  • 0f9a6b0176 Update build danzel 2012-09-07 14:10:11 +12:00
  • fb165b18b1 Fix and test for #49, clearLayers wasn't unspiderfying. danzel 2012-09-07 14:10:05 +12:00
  • 7ae3e1ad42 Update build danzel 2012-09-06 16:20:02 +12:00
  • dc16362b6c everything example should be animated danzel 2012-09-06 16:19:54 +12:00
  • 336d7423d7 Add a test case for #51 and #43 danzel 2012-09-06 16:12:58 +12:00
  • 22063a2831 Add animateAddingMarkers. It set to true (default false) then adding markers after adding the MarkerClusterGroup to the map will animate them in (like previous behaviour). If false they will just be directly added to clusters with no animation which is better for performance especially when bulk adding markers to the map. Refs #51 danzel 2012-09-06 16:12:02 +12:00
  • fc881ba769 Fix up #53, #54 danzel 2012-09-06 15:32:47 +12:00
  • b0174aa1a1 Add a test case for #53 #54. danzel 2012-09-06 15:32:29 +12:00
  • 0c6463bfc6 Document maxClusterRadius danzel 2012-09-06 09:41:27 +12:00
  • 8ef762e001 Make Other Options more readable round 2 Dave Leaver 2012-09-03 10:37:51 +12:00
  • ade547ac88 Make other options section more readable Dave Leaver 2012-09-03 10:36:56 +12:00
  • f65634943f Update build. danzel 2012-09-03 10:35:13 +12:00
  • 374e74f78a Test if a marker is already in the cluster before adding it. You can skip this (for performance) by setting the skipDuplicateAddTesting option. Testing is only done after the MarkerClusterGroup has been added to the map, so any duplicates added before then will not be caught. danzel 2012-09-03 10:34:59 +12:00
  • 2ccd15bd43 Add hasLayer support. Not super efficient n(log n) IIRC, but at least we have one! Refs #44 danzel 2012-09-03 09:53:56 +12:00
  • 116a1876eb Update build danzel 2012-09-03 09:24:03 +12:00
  • c9a45984d7 singleMarkerMode in the readme danzel 2012-09-03 09:23:39 +12:00
  • 40441542d2 Fixups for singleMarkerMode with new cluster icon bits danzel 2012-09-03 09:22:28 +12:00
  • 068d323b9c Merge pull request #42 from awinograd/master Dave Leaver 2012-09-02 14:17:15 -07:00
  • 068f9f9f8a Add option singleMarkerMode Alec Winograd 2012-08-31 23:06:39 -07:00
  • ce81e394c6 Revert first changes as discussed for new approach Alec Winograd 2012-08-31 12:24:47 -07:00
  • a5cb8531af Update build danzel 2012-08-30 11:45:52 +12:00
  • a1c55be696 Instead of passing childCount to iconCreateFunction, pass the markerCluster instead. Allows the user more flexibility with deciding on the icon. danzel 2012-08-30 11:45:44 +12:00
  • 8e9aefb6d4 Add an example showing disableClusteringAtZoom danzel 2012-08-27 14:16:56 +12:00
  • 4227aa5523 Add an example using disableClusteringAtZoom danzel 2012-08-27 14:12:31 +12:00
  • 58f184346d re-do the build without the console.log danzel 2012-08-27 14:03:43 +12:00
  • a0f0f1b1df Update Build danzel 2012-08-27 13:55:55 +12:00
  • 6c4c0f1e33 Fix up crashes removing the MarkerClusterGroup from the map in a zoomstart/end handler. Crashes could come still happen depending on the order the handlers were called. Refs #36 danzel 2012-08-27 13:55:44 +12:00
  • 863b07ea42 Update build danzel 2012-08-27 13:33:03 +12:00
  • 02a869bf60 Fix a crash that can happen if you remove the layer from the map while a zoom animation is going on. Fixes #36 danzel 2012-08-27 13:32:36 +12:00
  • 1ade0834b8 Update the build danzel 2012-08-27 13:03:21 +12:00
  • c1aff5cba2 Make getNearObject always return the closest point to make the clusters do stupid things less often danzel 2012-08-27 13:02:45 +12:00
  • 8ac19a8f65 Add enough layers support that you can use geojson to add your maptags. fixes #45 refs #13 danzel 2012-08-27 11:47:51 +12:00
  • 208c85ca79 Utilize option to clusterSingleMarkers Alec Winograd 2012-08-20 16:33:08 -07:00
  • 9ad78ab809 Add option to clusterSingleMarkers Alec Winograd 2012-08-20 16:31:52 -07:00
  • 60fbb1cbf2 updated dist vieron 2012-08-20 21:06:38 +02:00
  • 9402f202b8 update coords for the new widget size. vieron 2012-08-20 21:06:21 +02:00
  • 2b87032fad Updated README to point to github pages-hosted test file. Andrew Dunkman 2012-08-20 13:04:55 -05:00
  • 1086fe5b77 updated dist vieron 2012-08-20 01:46:52 +02:00
  • dbf98cc9bd Resize widgets feature. Closes #15. vieron 2012-08-20 00:45:04 +02:00
  • 32355c2f24 Update build. danzel 2012-08-20 10:59:37 +12:00
  • 167ef4aa1e Remove coverage polygon from map when we are removed from the map. Fixes #38 danzel 2012-08-20 10:59:27 +12:00
  • 492d8a0d27 Support adding markers while we aren't on the map. danzel 2012-08-20 10:38:59 +12:00
  • 439394c1d8 Update build danzel 2012-08-20 10:19:40 +12:00
  • b392fb7913 Fix for jshint danzel 2012-08-20 10:19:28 +12:00
  • 9a6e7004b0 Respect disableClusteringAtZoom when adding individual layers danzel 2012-08-20 10:18:34 +12:00
  • 0b6b7ed560 Add options.disableClusteringAtZoom. Only implemented for initial clustering currently danzel 2012-08-20 10:00:31 +12:00
  • 010444f57c Allow widgets to start in a specific col+row on the grid vieron 2012-08-18 22:09:23 +02:00
  • 32ea0da04b wip: resize widget feature vieron 2012-08-13 22:14:53 +02:00
  • 04301f48c9 updated dist vieron 2012-08-18 19:47:26 +02:00
  • 1d65da9260 Improving the way that rows are calculated. Related to #30. vieron 2012-08-18 18:46:06 +02:00
  • 3ba70b7453 updated dist vieron 2012-08-14 00:11:01 +02:00
  • 573ed66922 fixes in drag/stop callbacks. Related to #23. vieron 2012-08-14 00:06:03 +02:00
  • 81c96b92d5 fixed: drag api access from gridster and draggable.disable method. vieron 2012-08-13 22:32:35 +02:00
  • 0fadccaa2f updated dist vieron 2012-08-13 01:18:12 +02:00
  • 3e69cab1f2 Remove included leaflet, no longer required danzel 2012-08-13 10:40:24 +12:00
  • 834e9023e5 Update build danzel 2012-08-13 10:40:04 +12:00
  • 80976df206 Update all examples to work and use the CDN leaflet danzel 2012-08-13 10:39:38 +12:00
  • 8e7a5cec53 prevent selection when dragging vieron 2012-08-13 00:18:29 +02:00
  • 195340c8be Custom example doesn't need the default styles, just the MarkerCluster.css ones (for animations) danzel 2012-08-13 10:15:13 +12:00
  • fc1babc776 Increase default maxClusterRadius to look nicer with new centering changes. danzel 2012-08-13 10:10:02 +12:00
  • a498cd47c2 Clean up adding markers to existing clusters with the new centering changes danzel 2012-08-13 10:09:44 +12:00
  • 415497fdcf As we no longer move cluster we don't need to update them in the DistanceGrid as we cluster danzel 2012-08-13 10:08:25 +12:00
  • f3fddb835d use first point as centers while clustering, use weighted centers on display Vladimir Agafonkinanddanzel 2012-08-10 14:27:32 +03:00
  • 6c9eaf067d Fixes related to overlapping problems. Solve part of #4. vieron 2012-08-12 18:38:18 +02:00
  • 585ac5be60 Fixed custom example; needed updated 'src' links Ryan Murphy 2012-08-10 11:37:53 -05:00
  • eee1aba847 Update Build danzel 2012-08-10 16:05:57 +12:00
  • aed2816986 Clone the LatLng rather than taking a reference so we don't break it when we edit it. danzel 2012-08-10 16:05:49 +12:00
  • 7b568d10e6 Merge remote-tracking branch 'mourner/cluster-centers' danzel 2012-08-10 16:00:06 +12:00
  • f9976ac8fc Update Build. danzel 2012-08-10 15:58:57 +12:00
  • 777c1d264c Fix up addLayer with the gridder optimizations. danzel 2012-08-10 15:58:44 +12:00
  • 17522d8fc3 cleanup code a bit mourner 2012-08-09 23:12:30 +03:00
  • 755cd3cb64 calculate point average as cluster center instead of bounds center Vladimir Agafonkin 2012-08-09 18:10:20 +03:00
  • 79737cdab5 remove DistanceGrid#replaceObject (not needed) Vladimir Agafonkin 2012-08-09 17:02:37 +03:00
  • 58aaf37924 improve performance 4-20 times with grid-based near neighbor search Vladimir Agafonkin 2012-08-09 16:24:51 +03:00
  • c047153f05 updated dist vieron 2012-08-08 23:36:54 +02:00
  • d78bd254bd renamed jQuery adapter for Draggable class to $.fn.drag. Fixes #17. vieron 2012-08-08 23:33:31 +02:00
  • 2c16638905 updated dist vieron 2012-08-08 20:39:08 +02:00
  • 5f4e6ded39 fixed index error in for loop. Fixes #16. vieron 2012-08-08 20:17:14 +02:00
  • 568f7210ea updated dist vieron 2012-08-08 01:23:33 +02:00
  • 148963d12f added max_size_x and max_size_y as configurable options. Fixes #16. vieron 2012-08-08 01:18:04 +02:00
  • 8b42747690 Fix up styles for IE again, works better for 7/8 now. danzel 2012-08-07 13:47:23 +12:00
  • 1d88075769 Update the build danzel 2012-08-07 11:32:18 +12:00
  • 7254719ac6 Fix #27 for touch zoom danzel 2012-08-07 11:31:39 +12:00
  • c698e2ed54 Working on #27. This fixes the animation on desktop but not mobile. danzel 2012-08-07 11:19:39 +12:00
  • 151b3bffa6 updated dist vieron 2012-08-07 01:01:00 +02:00
  • 7dbf396e9c grunt: modified watch command config vieron 2012-08-07 01:00:49 +02:00
  • dc0a548bd4 stupid typos vieron 2012-08-07 00:59:58 +02:00
  • ca7577950e don't start drag if <button> is clicked vieron 2012-08-07 00:59:00 +02:00