CHANGELOG.md
19.4 KB
Leaflet.markercluster
(all changes without author notice are by @danzel)
1.4.1 (2018-09-14)
Bugfixes
- Better support stopping dragged markers from being clustered (by @DerGuteWolf) #909
1.4.0 (2018-08-22)
Required leaflet version bumped to 1.3.1
Improvements
- Tests run against leaflet 1.1.0+ #863
Bugfixes
- Fix clearLayers not removing removed markers #860
- Remember opacity 0 correctly (by @r-yanyo) #890
- Fix chunkedLoading LatLngBounds.intersects() (by @boldtrn) #743 #891
1.3.0 (2018-01-19)
Improvements
- Use Rollup for builds (by @IvanSanchez) #769
Bugfixes
- Fix Spiderfier positioning for small markers (by @ghybs) #846
- Fix anchor usage with latest leaflet version #861
1.2.0 (2017-11-06)
Improvements
Bugfixes
- Fix very small
maxClusterRadius
hanging the browser (by @lucaswerkmeister) #838
1.1.0 (2017-08-27)
Improvements
1.0.6 (2017-06-19)
Bugfixes
1.0.5 (2017-04-26)
Improvements
Bugfixes
1.0.4 (2017-03-14)
Bugfixes
- Fix errors removing a MarkerClusterGroup from the map during an animation #758
1.0.3 (2017-02-02)
Bugfixes
- Fix moving markers while the MarkerClusterGroup is not on the map #753
1.0.2 (2017-01-27)
Improvements
- Support
layeradd
andlayerremove
events #647
Bugfixes
- Add support for maps with negative minZoom #704
- Fixed zoomToShowLayer() markers disappearing bug (by @z3ut) #739
- Fix an issue when opening a popup inside of zoomToShowLayer
- If a marker is moved with an open popup on it, re-open the popup after moving it. #651
1.0.1 (2017-01-25)
Improvements
- Add install and build steps with jake (by @kazes) #733
- Readme improvements (by @ghybs, @bertyhell) #734, [#734](https://github.com/Leaflet/Leaflet.markercluster/pull/738
- Bump all examples to leaflet 1.0.3
Bugfixes
- Fixed leaflet 1.0.2 bug where clearLayers would throw an exception (by @marcianoviereck92) #746
1.0.0 (2016-10-03)
Improvements
- Compatibility with Leaflet 1.0.0 (by @danzel, @Eschon, @ghybs, @IvanSanchez)
- Support moving markers #57
- chunkedLoading option to keep browser more responsive during larging a load data set #292
- maxClusterRadius can be a function (by @Schwanksta) #298
- Spiderfy without zooming when all markers at same location (by @rdenniston, @ghybs) #415, #606
- On becoming visible, markers retain their original opacity. (by @IvanSanchez) #444
- Spiderleg Polyline options (by @mikeatlas) #466
- Extra methods to allow refreshing cluster icons (by @ghybs) #564
- Ability to disable animations (by @ghybs) #578
- Optimized performance of bulk addLayers and removeLayers (by @ghybs) #584
- Replaced spiderfy legs animation from SMIL to CSS transition (by @ghybs) #585
- Provide more detailed context information on the spiderfied event (by @evanvosberg) #421
- Add unspiderfied event
- Readme updates (by @ghybs, @tomchadwin @Cyrille37 @franckl @mikeatlas @rdenniston @maackle @fureigh @Wildhoney @Schwanksta @frankrowe)
- Improve adding and removing nested LayerGroups (by @ghybs) #624
- Add public unspiderfy method (by @zverev) #617
- Optimized performance of bulk add with complex icon create function (by @mlazowik) #697
- Remove leaflet from peerDependencies (by @tyleralves) #703
- Simplified _recursively (by @ghybs) #656
Bugfixes
- Fix getBounds when removeOutsideVisibleBounds: false is set. #321
- Fix zoomToShowLayer fails after initial spiderfy #286
- Fix cluster not disappearing on Android #344
- Fix RemoveLayers() when spiderified (by @Grsmto) #358
- Remove lines from map when removing cluster (by @olive380) #532
- Fix getConvexHull when all markers are located at same latitude (by @olive380) #533
- Fix removeLayers when cluster is not on the map (by @eschon) #556
- Improved zoomToShowLayer with callback check (by @ghybs) #572
- Improved reliability of RefreshSpec test suite for PhantomJS (by @ghybs) #577
- Corrected effect of removeOutsideVisibleBounds option (by @ghybs) #575
- Fix getLayer when provided a string #531
- Documentation improvements (by @ghybs) #579
- Correct _getExpandedVisibleBounds for Max Latitude (by @ghybs) #587
- Correct unspiderfy vector (by @ghybs) #604
- Remove "leaflet-cluster-anim" class on map remove while spiderfied (by @ghybs) #607
- Fix disableClusteringAtZoom maxZoom troubles (by @OriginalSin) #609
- Fix clusters not disappearing when they were near the edge on mobile (by @ghybs) #529
- Remove leaflet from dependencies (by @ghybs) #639
- Fix interaction between zoomOrSpiderfy and disableClusteringAtZoom (by @ghybs) #633 #648
0.4 (2013-12-19)
Improvements
- Fix Quick Zoom in/out causing everything to disappear in Firefox (Reported by @paulovieira) #140
- Slow the expand/contract animation down from 200ms to 300ms
Bugfixes
- Fix some cases zoomToShowLayer wouldn't work (Reported by @absemetov) #203 #228 #286
0.3 (2013-12-18)
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
- Implemented getLayers (Reported by @metajungle) #222
- zoomToBounds now only zooms in as far as it needs to to get all of the markers on screen if this is less zoom than zooming to the actual bounds would be (Reported by @adamyonk) #185
- Keyboard accessibility improvements (By @Zombienaute) #273
- IE Specific css in the default styles is no longer a separate file (By @frankrowe) #280
- Improve usability with small maps (Reported by @JSCSJSCS) #144
- Implement FeatureGroup.getLayer (Reported by @newmanw) #244
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
- Fix getVisibleParent when no parent is visible (Reported by @ajbeaven) #265
- Fix spiderfied markers not hiding on a big zoom (Reported by @Vaesive) #268
- Fix clusters not hiding on a big zoom (Reported by @versusvoid) #281
- Don't fire multiple clustermouseover/off events due to child divs in the cluster marker (Reported by @heidemn) #252
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!