From 649c0efff294995ce61a1c523729f15379934521 Mon Sep 17 00:00:00 2001 From: danzel Date: Mon, 7 Apr 2014 10:11:37 +1200 Subject: [PATCH] Update all examples to use OSM tiles --- example/geojson.html | 7 +- example/marker-clustering-convexhull.html | 9 +- example/marker-clustering-custom.html | 9 +- example/marker-clustering-everything.html | 9 +- example/marker-clustering-geojson.html | 9 +- ...rker-clustering-realworld-maxzoom.388.html | 9 +- ...arker-clustering-realworld-mobile.388.html | 9 +- .../marker-clustering-realworld.10000.html | 10 ++- example/marker-clustering-realworld.388.html | 9 +- .../marker-clustering-realworld.50000.html | 83 ++++++++++--------- .../marker-clustering-singlemarkermode.html | 9 +- example/marker-clustering-spiderfier.html | 9 +- example/marker-clustering-zoomtobounds.html | 9 +- .../marker-clustering-zoomtoshowlayer.html | 9 +- example/marker-clustering.html | 9 +- example/old-bugs/add-1000-after.html | 9 +- example/old-bugs/add-markers-offscreen.html | 9 +- .../old-bugs/add-remove-before-addtomap.html | 9 +- example/old-bugs/animationless-zoom.html | 9 +- .../disappearing-marker-from-spider.html | 7 +- ...doesnt-update-cluster-on-bottom-level.html | 9 +- example/old-bugs/remove-add-clustering.html | 9 +- example/old-bugs/remove-when-spiderfied.html | 9 +- .../removelayer-after-remove-from-map.html | 7 +- example/old-bugs/setView-doesnt-remove.html | 9 +- .../zoomtoshowlayer-doesnt-need-to-zoom.html | 9 +- 26 files changed, 164 insertions(+), 139 deletions(-) diff --git a/example/geojson.html b/example/geojson.html index 4a3652dfe..a074eec0b 100644 --- a/example/geojson.html +++ b/example/geojson.html @@ -30,14 +30,13 @@ ] }; - var cloudmade = L.tileLayer('http://{s}.tile.cloudmade.com/{key}/997/256/{z}/{x}/{y}.png', { + var tiles = L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { maxZoom: 18, - attribution: 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade', - key: 'BC9A493B41014CAABB98F0471D759707' + attribution: '© OpenStreetMap contributors' }); var map = L.map('map') - .addLayer(cloudmade); + .addLayer(tiles); var markers = L.markerClusterGroup(); diff --git a/example/marker-clustering-convexhull.html b/example/marker-clustering-convexhull.html index b26d5cc6f..25ee56d32 100644 --- a/example/marker-clustering-convexhull.html +++ b/example/marker-clustering-convexhull.html @@ -20,12 +20,13 @@ diff --git a/example/marker-clustering-singlemarkermode.html b/example/marker-clustering-singlemarkermode.html index ab71f1c9a..7f5c1a2d9 100644 --- a/example/marker-clustering-singlemarkermode.html +++ b/example/marker-clustering-singlemarkermode.html @@ -19,12 +19,13 @@