From 61fdf965ba7be9bb829eb2b5afcb42591a742a31 Mon Sep 17 00:00:00 2001 From: Petr Sloup Date: Tue, 25 Jun 2019 16:34:58 +0200 Subject: [PATCH] Use special MapTiler API key dedicated for OpenLayers examples --- examples/mapbox-layer.html | 2 +- examples/mapbox-layer.js | 2 +- examples/mapbox-style.html | 2 +- examples/mapbox-style.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/mapbox-layer.html b/examples/mapbox-layer.html index c930b073ff..978f950bf6 100644 --- a/examples/mapbox-layer.html +++ b/examples/mapbox-layer.html @@ -9,7 +9,7 @@ resources: - https://unpkg.com/mapbox-gl@0.54.0/dist/mapbox-gl.js - https://unpkg.com/mapbox-gl@0.54.0/dist/mapbox-gl.css cloak: - - key: ER67WIiPdCQvhgsUjoWK + - key: get_your_own_D6rA4zTHduk6KOKTXzGB value: Get your own API key at https://www.maptiler.com/cloud/ ---
diff --git a/examples/mapbox-layer.js b/examples/mapbox-layer.js index 3658cc2bf4..2bb3e4fa4c 100644 --- a/examples/mapbox-layer.js +++ b/examples/mapbox-layer.js @@ -8,7 +8,7 @@ import VectorSource from '../src/ol/source/Vector.js'; import GeoJSON from '../src/ol/format/GeoJSON.js'; const center = [-98.8, 37.9]; -const key = 'ER67WIiPdCQvhgsUjoWK'; +const key = 'get_your_own_D6rA4zTHduk6KOKTXzGB'; const mbMap = new mapboxgl.Map({ style: 'https://api.maptiler.com/maps/bright/style.json?key=' + key, diff --git a/examples/mapbox-style.html b/examples/mapbox-style.html index 9d475e39f8..43582ac670 100644 --- a/examples/mapbox-style.html +++ b/examples/mapbox-style.html @@ -4,7 +4,7 @@ title: Vector tiles created from a Mapbox Style object shortdesc: Example of using ol-mapbox-style with tiles from tilehosting.com. tags: "vector tiles, mapbox style, ol-mapbox-style, maptiler" cloak: - - key: ER67WIiPdCQvhgsUjoWK + - key: get_your_own_D6rA4zTHduk6KOKTXzGB value: Get your own API key at https://www.maptiler.com/cloud/ --- diff --git a/examples/mapbox-style.js b/examples/mapbox-style.js index 8c867bb30f..819177a69d 100644 --- a/examples/mapbox-style.js +++ b/examples/mapbox-style.js @@ -1,3 +1,3 @@ import apply from 'ol-mapbox-style'; -apply('map', 'https://api.maptiler.com/maps/topo/style.json?key=ER67WIiPdCQvhgsUjoWK'); +apply('map', 'https://api.maptiler.com/maps/topo/style.json?key=get_your_own_D6rA4zTHduk6KOKTXzGB');