Releases: oliverroick/Leaflet.Deflate
Releases · oliverroick/Leaflet.Deflate
v2.1.0
Added
- New option
greedyCollapse
to specify when features will collapse. With greedyCollapse set to true, a feature collapses when either its width or height falls below the specified threshold. This is the default, and it matches the behaviour from previous versions. Set greedyCollapse to false, and features will collapse only of both width and height fall below the specified threshold. (#193)
v2.0.0
Improved
- Added links to documentation of older versions of the library (c70ae31)
Removed
- Options
markerCluster
andmarkerClusterOptions
are now removed from the API (ee25d96). Initialise the MarkerCluster layer and pass it to themarkerLayer
option instead. - Examples and other files that are not necessary to install and run the library. (6b2ef8a)
v1.4.2
v1.4.1
v1.4.0
Added
- New option
markerLayer
, which allows to specify the layer used to display deflated markers. This should be used for specific behaviour, such as clustering markers. (#135)
Deprecated
- Options
markerCluster
andmarkerClusterOptions
; both options will be removed with the next major release. Initialise the MarkerCluster layer and pass it to themarkerLayer
option instead.
v1.3.0
Added
- TypeScript definitions
v1.2.0
Added
- Ability to use
CircleMarker
as a replacement for deflated features
Fixed
- A bug that potentially leads to an infinite loop when calculating deflate threshold zoom levels
1.1.0
1.0.0
1.0.0
1.0.0-beta.1
1.0.0-beta.1