diff --git a/docs/pages/example/3d-extrusion-floorplan.html b/docs/pages/example/3d-extrusion-floorplan.html index dcb96eeeec5..40e13c40649 100644 --- a/docs/pages/example/3d-extrusion-floorplan.html +++ b/docs/pages/example/3d-extrusion-floorplan.html @@ -17,11 +17,11 @@ // GeoJSON Data source used in vector tiles, documented at // https://gist.github.com/ryanbaumann/a7d970386ce59d11c16278b90dde094d 'type': 'geojson', - 'data': 'https://www.mapbox.com/mapbox-gl-js/assets/indoor-3d-map.geojson' + 'data': 'https://docs.mapbox.com/mapbox-gl-js/assets/indoor-3d-map.geojson' }, 'paint': { // See the Mapbox Style Specification for details on data expressions. - // https://www.mapbox.com/mapbox-gl-js/style-spec/#expressions + // https://docs.mapbox.com/mapbox-gl-js/style-spec/#expressions // Get the fill-extrusion-color from the source 'color' property. 'fill-extrusion-color': ['get', 'color'], diff --git a/docs/pages/example/animate-images.html b/docs/pages/example/animate-images.html index e035015cdc6..68db16cd1d9 100644 --- a/docs/pages/example/animate-images.html +++ b/docs/pages/example/animate-images.html @@ -13,7 +13,7 @@ var currentImage = 0; function getPath() { - return "https://www.mapbox.com/mapbox-gl-js/assets/radar" + currentImage + ".gif"; + return "https://docs.mapbox.com/mapbox-gl-js/assets/radar" + currentImage + ".gif"; } map.on('load', function() { diff --git a/docs/pages/example/change-case-of-labels.html b/docs/pages/example/change-case-of-labels.html index be56972c7ff..8416890edd9 100644 --- a/docs/pages/example/change-case-of-labels.html +++ b/docs/pages/example/change-case-of-labels.html @@ -15,7 +15,7 @@ // data from opendata.cityofboise.org/ 'source': { 'type': 'geojson', - 'data': 'https://www.mapbox.com/mapbox-gl-js/assets/boise.geojson' + 'data': 'https://docs.mapbox.com/mapbox-gl-js/assets/boise.geojson' }, "layout": { diff --git a/docs/pages/example/cluster.html b/docs/pages/example/cluster.html index 7d69057e7c0..c02ccd4e4a7 100644 --- a/docs/pages/example/cluster.html +++ b/docs/pages/example/cluster.html @@ -16,7 +16,7 @@ type: "geojson", // Point to GeoJSON data. This example visualizes all M1.0+ earthquakes // from 12/22/15 to 1/21/16 as logged by USGS' Earthquake hazards program. - data: "https://www.mapbox.com/mapbox-gl-js/assets/earthquakes.geojson", + data: "https://docs.mapbox.com/mapbox-gl-js/assets/earthquakes.geojson", cluster: true, clusterMaxZoom: 14, // Max zoom to cluster points on clusterRadius: 50 // Radius of each cluster when clustering points (defaults to 50) @@ -28,7 +28,7 @@ source: "earthquakes", filter: ["has", "point_count"], paint: { - // Use step expressions (https://www.mapbox.com/mapbox-gl-js/style-spec/#expressions-step) + // Use step expressions (https://docs.mapbox.com/mapbox-gl-js/style-spec/#expressions-step) // with three steps to implement three types of circles: // * Blue, 20px circles when point count is less than 100 // * Yellow, 30px circles when point count is between 100 and 750 diff --git a/docs/pages/example/data-driven-circle-colors.html b/docs/pages/example/data-driven-circle-colors.html index bc220a7b37d..982fa136424 100644 --- a/docs/pages/example/data-driven-circle-colors.html +++ b/docs/pages/example/data-driven-circle-colors.html @@ -24,7 +24,7 @@ 'stops': [[12, 2], [22, 180]] }, // color circles by ethnicity, using a match expression - // https://www.mapbox.com/mapbox-gl-js/style-spec/#expressions-match + // https://docs.mapbox.com/mapbox-gl-js/style-spec/#expressions-match 'circle-color': [ 'match', ['get', 'ethnicity'], diff --git a/docs/pages/example/data-driven-lines.html b/docs/pages/example/data-driven-lines.html index 1e926da9cf6..80f3f0200f1 100644 --- a/docs/pages/example/data-driven-lines.html +++ b/docs/pages/example/data-driven-lines.html @@ -72,7 +72,7 @@ }, 'paint': { 'line-width': 3, - // Use a get expression (https://www.mapbox.com/mapbox-gl-js/style-spec/#expressions-get) + // Use a get expression (https://docs.mapbox.com/mapbox-gl-js/style-spec/#expressions-get) // to set the line-color to a feature property value. 'line-color': ['get', 'color'] } diff --git a/docs/pages/example/heatmap-layer.html b/docs/pages/example/heatmap-layer.html index 1cc08eafe7e..b5abf5fbbd4 100644 --- a/docs/pages/example/heatmap-layer.html +++ b/docs/pages/example/heatmap-layer.html @@ -14,7 +14,7 @@ // Heatmap layers also work with a vector tile source. map.addSource('earthquakes', { "type": "geojson", - "data": "https://www.mapbox.com/mapbox-gl-js/assets/earthquakes.geojson" + "data": "https://docs.mapbox.com/mapbox-gl-js/assets/earthquakes.geojson" }); map.addLayer({ diff --git a/docs/pages/example/hover-styles.html b/docs/pages/example/hover-styles.html index 75dd5492591..0fba8300faa 100644 --- a/docs/pages/example/hover-styles.html +++ b/docs/pages/example/hover-styles.html @@ -11,7 +11,7 @@ map.on('load', function () { map.addSource("states", { "type": "geojson", - "data": "https://www.mapbox.com/mapbox-gl-js/assets/us_states.geojson" + "data": "https://docs.mapbox.com/mapbox-gl-js/assets/us_states.geojson" }); // The feature-state dependent fill-opacity expression will render the hover effect diff --git a/docs/pages/example/image-on-a-map.html b/docs/pages/example/image-on-a-map.html index 74c9c79390c..c00aad98ee9 100644 --- a/docs/pages/example/image-on-a-map.html +++ b/docs/pages/example/image-on-a-map.html @@ -10,7 +10,7 @@ }, "overlay": { "type": "image", - "url": "https://www.mapbox.com/mapbox-gl-js/assets/radar.gif", + "url": "https://docs.mapbox.com/mapbox-gl-js/assets/radar.gif", "coordinates": [ [-80.425, 46.437], [-71.516, 46.437], diff --git a/docs/pages/example/live-update-feature.html b/docs/pages/example/live-update-feature.html index d188ca08fb9..ebd5a787f5b 100644 --- a/docs/pages/example/live-update-feature.html +++ b/docs/pages/example/live-update-feature.html @@ -12,7 +12,7 @@ // We use D3 to fetch the JSON here so that we can parse and use it separately // from GL JS's use in the added source. You can use any request method (library // or otherwise) that you want. - d3.json('https://www.mapbox.com/mapbox-gl-js/assets/hike.geojson', function(err, data) { + d3.json('https://docs.mapbox.com/mapbox-gl-js/assets/hike.geojson', function(err, data) { if (err) throw err; // save full coordinate list for later diff --git a/docs/pages/example/restrict-bounds.js b/docs/pages/example/restrict-bounds.js index 0c9872751ab..ed6c91dcbbd 100644 --- a/docs/pages/example/restrict-bounds.js +++ b/docs/pages/example/restrict-bounds.js @@ -1,7 +1,7 @@ /*--- title: Restrict map panning to an area description: >- - Prevent a map from being panned to a different place by setting [`maxBounds`](https://www.mapbox.com/mapbox-gl-js/api#map#setmaxbounds). + Prevent a map from being panned to a different place by setting [`maxBounds`](https://docs.mapbox.com/mapbox-gl-js/api#map#setmaxbounds). tags: - user-interaction pathname: /mapbox-gl-js/example/restrict-bounds/ diff --git a/docs/pages/example/set-popup.html b/docs/pages/example/set-popup.html index d4d4cd7a941..2f7f1805efc 100644 --- a/docs/pages/example/set-popup.html +++ b/docs/pages/example/set-popup.html @@ -1,7 +1,7 @@