Skip to content

Commit 9db80a3

Browse files
committed
v1.0.0: compatibility with MCG >= 1.0.4
Fixes: - Compatibility with Leaflet.MarkerClusterGroup.LayerSupport sub-plugin. - Dynamically added marker do not appear if outside initial view port. Docs: - Refactor demo pages to load selected Leaflet, MCG and MCG.Freezable versions, including locally built version. - Move gh-pages branch into docs/ folder. - Use build script for README.
1 parent 793ce96 commit 9db80a3

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ far from the view port, accordingly with `removeOutsideVisibleBounds` option._
117117
### Installing the sub-plugin
118118

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

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

127127
```html
128128
<!-- After Leaflet script -->
129-
<script src="https://unpkg.com/leaflet.markercluster.freezable@0.1.1/dist/leaflet.markercluster.freezable.js"></script>
129+
<script src="https://unpkg.com/leaflet.markercluster.freezable@1.0.0/dist/leaflet.markercluster.freezable.js"></script>
130130
```
131131

132132
#### npm

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"name": "leaflet.markercluster.freezable",
33
"_name": "Leaflet.MarkerCluster.Freezable",
4-
"version": "0.1.1",
4+
"version": "1.0.0",
55
"_year": "2015-2016",
66
"description": "Sub-plugin for Leaflet.markercluster plugin; adds the ability to freeze clusters at a specified zoom.",
77
"main": "dist/leaflet.markercluster.freezable",
8-
"files": ["dist/*.js"],
8+
"files": [
9+
"dist/*.js"
10+
],
911
"directories": {
1012
"example": "examples"
1113
},

0 commit comments

Comments
 (0)