From d00a355d6b41612198808806342ef8711d2ea604 Mon Sep 17 00:00:00 2001 From: Elias Ojala Date: Fri, 4 May 2018 15:17:41 +0300 Subject: [PATCH] mapbox link --- docs/_layouts/v2.html | 2 +- docs/examples/choropleth/example-basic.md | 2 +- docs/examples/choropleth/example-color.md | 2 +- docs/examples/choropleth/example.md | 2 +- docs/examples/geojson/example.md | 2 +- docs/examples/geojson/geojson-example.html | 2 +- docs/examples/layers-control/example.md | 2 +- docs/examples/mobile/example.md | 2 +- docs/examples/mobile/index.md | 2 +- docs/examples/quick-start/example-basic.md | 2 +- docs/examples/quick-start/example-overlays.md | 2 +- docs/examples/quick-start/example-popups.md | 2 +- docs/examples/quick-start/example.md | 2 +- docs/examples/quick-start/index.md | 2 +- docs/examples/video-overlay/example-bounds.md | 2 +- docs/examples/video-overlay/example-nocontrols.md | 2 +- docs/examples/video-overlay/example.md | 2 +- docs/index.html | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/_layouts/v2.html b/docs/_layouts/v2.html index 1a2dc95a..411601a9 100644 --- a/docs/_layouts/v2.html +++ b/docs/_layouts/v2.html @@ -43,7 +43,7 @@ ACCESS_TOKEN = 'pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw'; MB_ATTR = 'Map data © OpenStreetMap contributors, ' + 'CC-BY-SA, ' + - 'Imagery © Mapbox'; + 'Imagery © Mapbox'; MB_URL = 'https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=' + ACCESS_TOKEN; OSM_URL = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'; OSM_ATTRIB = '© OpenStreetMap contributors'; diff --git a/docs/examples/choropleth/example-basic.md b/docs/examples/choropleth/example-basic.md index c498e507..a417f226 100644 --- a/docs/examples/choropleth/example-basic.md +++ b/docs/examples/choropleth/example-basic.md @@ -11,7 +11,7 @@ title: Choropleth Tutorial maxZoom: 18, attribution: 'Map data © OpenStreetMap contributors, ' + 'CC-BY-SA, ' + - 'Imagery © Mapbox', + 'Imagery © Mapbox', id: 'mapbox.light' }).addTo(map); diff --git a/docs/examples/choropleth/example-color.md b/docs/examples/choropleth/example-color.md index ad27852b..baabae8e 100644 --- a/docs/examples/choropleth/example-color.md +++ b/docs/examples/choropleth/example-color.md @@ -12,7 +12,7 @@ title: Choropleth Tutorial maxZoom: 18, attribution: 'Map data © OpenStreetMap contributors, ' + 'CC-BY-SA, ' + - 'Imagery © Mapbox', + 'Imagery © Mapbox', id: 'mapbox.light' }).addTo(map); diff --git a/docs/examples/choropleth/example.md b/docs/examples/choropleth/example.md index 6645d001..3e7499a3 100644 --- a/docs/examples/choropleth/example.md +++ b/docs/examples/choropleth/example.md @@ -42,7 +42,7 @@ css: "#map { maxZoom: 18, attribution: 'Map data © OpenStreetMap contributors, ' + 'CC-BY-SA, ' + - 'Imagery © Mapbox', + 'Imagery © Mapbox', id: 'mapbox.light' }).addTo(map); diff --git a/docs/examples/geojson/example.md b/docs/examples/geojson/example.md index d75920ca..cc510b9c 100644 --- a/docs/examples/geojson/example.md +++ b/docs/examples/geojson/example.md @@ -11,7 +11,7 @@ title: GeoJSON tutorial maxZoom: 18, attribution: 'Map data © OpenStreetMap contributors, ' + 'CC-BY-SA, ' + - 'Imagery © Mapbox', + 'Imagery © Mapbox', id: 'mapbox.light' }).addTo(map); diff --git a/docs/examples/geojson/geojson-example.html b/docs/examples/geojson/geojson-example.html index bbf74022..6ebffc1b 100644 --- a/docs/examples/geojson/geojson-example.html +++ b/docs/examples/geojson/geojson-example.html @@ -20,7 +20,7 @@ maxZoom: 18, attribution: 'Map data © OpenStreetMap contributors, ' + 'CC-BY-SA, ' + - 'Imagery © Mapbox', + 'Imagery © Mapbox', id: 'mapbox.light' }).addTo(map); diff --git a/docs/examples/layers-control/example.md b/docs/examples/layers-control/example.md index b8d5f644..8a77ae21 100644 --- a/docs/examples/layers-control/example.md +++ b/docs/examples/layers-control/example.md @@ -13,7 +13,7 @@ title: Layers Control Tutorial var mbAttr = 'Map data © OpenStreetMap contributors, ' + 'CC-BY-SA, ' + - 'Imagery © Mapbox', + 'Imagery © Mapbox', mbUrl = 'https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw'; var grayscale = L.tileLayer(mbUrl, {id: 'mapbox.light', attribution: mbAttr}), diff --git a/docs/examples/mobile/example.md b/docs/examples/mobile/example.md index 1fff6040..348c9d64 100644 --- a/docs/examples/mobile/example.md +++ b/docs/examples/mobile/example.md @@ -17,7 +17,7 @@ css: "body { maxZoom: 18, attribution: 'Map data © OpenStreetMap contributors, ' + 'CC-BY-SA, ' + - 'Imagery © Mapbox', + 'Imagery © Mapbox', id: 'mapbox.streets' }).addTo(map); diff --git a/docs/examples/mobile/index.md b/docs/examples/mobile/index.md index fe4e304e..8a7725f3 100644 --- a/docs/examples/mobile/index.md +++ b/docs/examples/mobile/index.md @@ -34,7 +34,7 @@ We'll now initialize the map in the JavaScript code like we did in the [quick st
var map = L.map('map').fitWorld();
 
 L.tileLayer('https://api.tiles.mapbox.com/v4/MapID/997/256/{z}/{x}/{y}.png?access_token={accessToken}', {
-	attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://mapbox.com">Mapbox</a>',
+	attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',
 	maxZoom: 18
 }).addTo(map);
diff --git a/docs/examples/quick-start/example-basic.md b/docs/examples/quick-start/example-basic.md index 430fbc4b..f38e8d13 100644 --- a/docs/examples/quick-start/example-basic.md +++ b/docs/examples/quick-start/example-basic.md @@ -12,7 +12,7 @@ customMapContainer: "true" maxZoom: 18, attribution: 'Map data © OpenStreetMap contributors, ' + 'CC-BY-SA, ' + - 'Imagery © Mapbox', + 'Imagery © Mapbox', id: 'mapbox.streets' }).addTo(mymap); diff --git a/docs/examples/quick-start/example-overlays.md b/docs/examples/quick-start/example-overlays.md index d860ffac..46742a59 100644 --- a/docs/examples/quick-start/example-overlays.md +++ b/docs/examples/quick-start/example-overlays.md @@ -12,7 +12,7 @@ customMapContainer: "true" maxZoom: 18, attribution: 'Map data © OpenStreetMap contributors, ' + 'CC-BY-SA, ' + - 'Imagery © Mapbox', + 'Imagery © Mapbox', id: 'mapbox.streets' }).addTo(mymap); diff --git a/docs/examples/quick-start/example-popups.md b/docs/examples/quick-start/example-popups.md index d2471865..33b81c20 100644 --- a/docs/examples/quick-start/example-popups.md +++ b/docs/examples/quick-start/example-popups.md @@ -12,7 +12,7 @@ customMapContainer: "true" maxZoom: 18, attribution: 'Map data © OpenStreetMap contributors, ' + 'CC-BY-SA, ' + - 'Imagery © Mapbox', + 'Imagery © Mapbox', id: 'mapbox.streets' }).addTo(mymap); diff --git a/docs/examples/quick-start/example.md b/docs/examples/quick-start/example.md index 19345272..d4d82acc 100644 --- a/docs/examples/quick-start/example.md +++ b/docs/examples/quick-start/example.md @@ -12,7 +12,7 @@ customMapContainer: "true" maxZoom: 18, attribution: 'Map data © OpenStreetMap contributors, ' + 'CC-BY-SA, ' + - 'Imagery © Mapbox', + 'Imagery © Mapbox', id: 'mapbox.streets' }).addTo(mymap); diff --git a/docs/examples/quick-start/index.md b/docs/examples/quick-start/index.md index a2ad526d..cc184f7f 100644 --- a/docs/examples/quick-start/index.md +++ b/docs/examples/quick-start/index.md @@ -53,7 +53,7 @@ Note that `setView` call also returns the map object --- most Leaflet methods ac Next we'll add a tile layer to add to our map, in this case it's a Mapbox Streets tile layer. Creating a tile layer usually involves setting the [URL template](/reference.html#url-template) for the tile images, the attribution text and the maximum zoom level of the layer. In this example we'll use the `mapbox.streets` tiles from [Mapbox's "Classic maps"](https://www.mapbox.com/api-documentation/#maps) (in order to use tiles from Mapbox, you must also [request an access token](https://www.mapbox.com/studio/account/tokens/)).
L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', {
-	attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://mapbox.com">Mapbox</a>',
+	attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',
 	maxZoom: 18,
 	id: 'mapbox.streets',
 	accessToken: 'your.mapbox.access.token'
diff --git a/docs/examples/video-overlay/example-bounds.md b/docs/examples/video-overlay/example-bounds.md
index 3a252085..88da38ee 100644
--- a/docs/examples/video-overlay/example-bounds.md
+++ b/docs/examples/video-overlay/example-bounds.md
@@ -9,7 +9,7 @@ title: Video Overlay Tutorial
 		maxZoom: 18,
 		attribution: 'Map data © OpenStreetMap contributors, ' +
 			'CC-BY-SA, ' +
-			'Imagery © Mapbox',
+			'Imagery © Mapbox',
 		id: 'mapbox.satellite'
 	}).addTo(map);
 
diff --git a/docs/examples/video-overlay/example-nocontrols.md b/docs/examples/video-overlay/example-nocontrols.md
index 4f2d98ed..7d92fc94 100644
--- a/docs/examples/video-overlay/example-nocontrols.md
+++ b/docs/examples/video-overlay/example-nocontrols.md
@@ -9,7 +9,7 @@ title: Video Overlay Tutorial
 		maxZoom: 18,
 		attribution: 'Map data © OpenStreetMap contributors, ' +
 			'CC-BY-SA, ' +
-			'Imagery © Mapbox',
+			'Imagery © Mapbox',
 		id: 'mapbox.satellite'
 	}).addTo(map);
 
diff --git a/docs/examples/video-overlay/example.md b/docs/examples/video-overlay/example.md
index d17db0e2..2651581a 100644
--- a/docs/examples/video-overlay/example.md
+++ b/docs/examples/video-overlay/example.md
@@ -9,7 +9,7 @@ title: Video Overlay Tutorial
 		maxZoom: 18,
 		attribution: 'Map data © OpenStreetMap contributors, ' +
 			'CC-BY-SA, ' +
-			'Imagery © Mapbox',
+			'Imagery © Mapbox',
 		id: 'mapbox.satellite'
 	}).addTo(map);
 
diff --git a/docs/index.html b/docs/index.html
index 114b9df8..04852820 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -181,7 +181,7 @@ If you have any questions, take a look at the Vladimir Agafonkin of Mapbox with a team of dedicated contributors.
+

Let's create the best mapping library that will ever exist! Leaflet is developed by Vladimir Agafonkin of Mapbox with a team of dedicated contributors. Pull requests are always welcome. However, there are many more ways to get involved with the development of Leaflet.