[Pkg-javascript-commits] [leaflet-markercluster] 04/219: Use chunkedLoading for the 2 big examples
Jonas Smedegaard
dr at jones.dk
Sat May 7 09:39:06 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 cf6f45e10e1fbd7b01f1f763f533a6144739dfb6
Author: danzel <danzel at localhost.geek.nz>
Date: Fri Dec 20 10:01:37 2013 +1300
Use chunkedLoading for the 2 big examples
---
example/marker-clustering-realworld.10000.html | 2 +-
example/marker-clustering-realworld.50000.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/example/marker-clustering-realworld.10000.html b/example/marker-clustering-realworld.10000.html
index 873a0f6..462e848 100644
--- a/example/marker-clustering-realworld.10000.html
+++ b/example/marker-clustering-realworld.10000.html
@@ -27,7 +27,7 @@
latlng = L.latLng(-37.89, 175.46);
var map = L.map('map', {center: latlng, zoom: 13, layers: [cloudmade]});
- var markers = L.markerClusterGroup();
+ var markers = L.markerClusterGroup({ chunkedLoading: true });
for (var i = 0; i < addressPoints.length; i++) {
var a = addressPoints[i];
diff --git a/example/marker-clustering-realworld.50000.html b/example/marker-clustering-realworld.50000.html
index 0f7c7e6..c439ccc 100644
--- a/example/marker-clustering-realworld.50000.html
+++ b/example/marker-clustering-realworld.50000.html
@@ -28,7 +28,7 @@
var map = L.map('map', { center: latlng, zoom: 13, layers: [cloudmade] });
- var markers = L.markerClusterGroup();
+ var markers = L.markerClusterGroup({ chunkedLoading: true });
var markerList = [];
--
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