[Pkg-javascript-commits] [leaflet-markercluster] 124/219: Improved example for refreshIconOptions
Jonas Smedegaard
dr at jones.dk
Sat May 7 09:39:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet-markercluster.
commit cc8de424b3208bbb1bcf60294dd058f358707732
Author: ghybs <ghybs at users.noreply.github.com>
Date: Wed Oct 14 12:48:40 2015 +0400
Improved example for refreshIconOptions
Improved clarity of example for `L.Marker.refreshIconOptions` method.
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 63043d9..b393a31 100644
--- a/README.md
+++ b/README.md
@@ -142,8 +142,8 @@ If passing a second argument that evaluates to `true`, the method will also trig
```javascript
// Use as many times as required to update markers,
// then call refreshClusters once finished.
-for (i in group) {
- group[i].refreshIconOptions(newOptionsMap);
+for (i in markersArray) {
+ markersArray[i].refreshIconOptions(newOptionsMap);
}
markers.refreshClusters(group);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git
More information about the Pkg-javascript-commits
mailing list