Skip to content

Latest commit

 

History

History
68 lines (55 loc) · 6.52 KB

CHANGELOG.md

File metadata and controls

68 lines (55 loc) · 6.52 KB

Leaflet.markercluster

(all changes without author notice are by @danzel)

Master

Improvements

  • Work better with custom projections (by @andersarstrand) #74
  • Add custom getBounds that works (Reported by @2803media)
  • Allow spacing spiderfied icons further apart (Reported by @stevevance) #100
  • Add custom eachLayer that works (Reported by @cilogi) #102
  • Add an option (removeOutsideVisibleBounds) to prevent removing clusters that are outside of the visible bounds (by @wildhoney) #103
  • Add getBounds method to cluster (Reported by @nderambure) #88
  • Lots of unit tests
  • Support having Circle / CircleMarker as child markers
  • Add factory methods (Reported by @mourner) #21
  • Add getVisibleParent method to allow getting the visible parent cluster or the marker if it is visible. (By @littleiffel) #102
  • Allow adding non-clusterable things to a MarkerClusterGroup, we don't cluster them. (Reported by @benbalter) #195
  • removeLayer supports taking a FeatureGroup (Reported by @pabloalcaraz) #236
  • DistanceGrid tests, QuickHull tests and improvements (By @tmcw) #247 #248 #249

Bugfixes

  • Fix singleMarkerMode when you aren't on the map (by @duncanparkes) #77
  • Fix clearLayers when you aren't on the map (by @duncanparkes) #79
  • IE10 Bug fix (Reported by @theLundquist) #86
  • Fixes for hasLayer after removing a layer (Reported by @cvisto) #44
  • Fix clearLayers not unsetting __parent of the markers, preventing them from being re-added. (Reported by @apuntovanini) #99
  • Fix map.removeLayer(markerClusterGroup) not working (Reported by @Driklyn) #108
  • Fix map.addLayers not updating cluster icons (Reported by @Driklyn) #114
  • Fix spiderfied clusters breaking if a marker is added to them (Reported by @Driklyn) #114
  • Don't show coverage for spiderfied clusters as it will be wrong. (Reported by @ajbeaven) #95
  • Improve zoom in/out immediately making all everything disappear, still issues in Firefox #140
  • Fix animation not stopping with only one marker. (Reported by @Driklyn) #146
  • Various fixes for new leaflet (Reported by @PeterAronZentai) #159
  • Fix clearLayers when we are spiderfying (Reported by @skullbooks) #162
  • Fix removing layers in certain situations (Reported by @bpavot) #160
  • Support calling hasLayer with null (by @l0c0luke) #170
  • Lots of fixes for removing a MarkerClusterGroup from the map (Reported by @annetdeboer) #200
  • Throw error when being added to a map with no maxZoom.
  • Fixes for markers not appearing after a big zoom (Reported by @arnoldbird) #216 (Reported by @mathilde-pellerin) #260
  • Fix coverage polygon not being removed when a MarkerClusterGroup is removed (Reported by @ZeusTheTrueGod) #245

0.2 (2012-10-11)

Improvements

  • Add addLayers/removeLayers bulk add and remove functions that perform better than the individual methods
  • Allow customising the polygon generated for showing the area a cluster covers (by @yohanboniface) #68
  • Add zoomToShowLayer method to zoom down to a marker then call a callback once it is visible
  • Add animateAddingMarkers to allow disabling animations caused when adding/removing markers
  • Add hasLayer
  • Pass the L.MarkerCluster to iconCreateFunction to give more flexibility deciding the icon
  • Make addLayers support geojson layers
  • Allow disabling clustering at a given zoom level
  • Allow styling markers that are added like they were clusters of size 1

Bugfixes

  • Support when leaflet is configured to use canvas rather than SVG
  • Fix some potential crashes in zoom handlers
  • Tidy up when we are removed from the map

0.1 (2012-08-16)

Initial Release!