Skip to content

Commit

Permalink
v2.0.0: singleAddRemoveBufferDuration option now defaults to 0
Browse files Browse the repository at this point in the history
(i.e. throttling is disabled) to avoid breaking `marker.setLatLng()` and unexpectedly making `addLayer` asynchronous.
  • Loading branch information
ghybs committed Feb 6, 2018
1 parent c3fc215 commit 5407a19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ with any plugin that adds to / removes markers from map (e.g. [LeafletSlider](ht
### Installing the sub-plugin

#### Local copy
1. Download the "<a href="https://github.com/ghybs/Leaflet.MarkerCluster.LayerSupport/releases/download/v1.0.5/leaflet.markercluster.layersupport.js">`leaflet.markercluster.layersupport.js`</a>" file from the [`v1.0.5` release](https://github.com/ghybs/Leaflet.MarkerCluster.LayerSupport/releases/tag/v1.0.5).
1. Download the "<a href="https://github.com/ghybs/Leaflet.MarkerCluster.LayerSupport/releases/download/v2.0.0/leaflet.markercluster.layersupport.js">`leaflet.markercluster.layersupport.js`</a>" file from the [`v2.0.0` release](https://github.com/ghybs/Leaflet.MarkerCluster.LayerSupport/releases/tag/v2.0.0).
2. Place the file alongside your page.
3. Add the `script` tag (see [Quick Guide > HTML](#quick-guide)) to your page after Leaflet and Leaflet.markercluster scripts.

Expand All @@ -81,7 +81,7 @@ You can alternatively use the free [unpkg](https://unpkg.com) CDN service, but k

```html
<!-- After Leaflet and Leaflet.markercluster scripts -->
<script src="https://unpkg.com/leaflet.markercluster.layersupport@1.0.5/dist/leaflet.markercluster.layersupport.js"></script>
<script src="https://unpkg.com/leaflet.markercluster.layersupport@2.0.0/dist/leaflet.markercluster.layersupport.js"></script>
```

#### npm
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "leaflet.markercluster.layersupport",
"_name": "Leaflet.MarkerCluster.LayerSupport",
"version": "1.0.5",
"version": "2.0.0",
"_year": "2015-2018",
"description": "Sub-plugin for Leaflet.markercluster plugin (MCG in short); brings compatibility with L.Control.Layers and other Leaflet plugins.",
"main": "dist/leaflet.markercluster.layersupport",
Expand Down

0 comments on commit 5407a19

Please sign in to comment.