From 3405157d6d19cb1e784fb8654b875595af9eb908 Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Tue, 29 Dec 2020 23:53:11 +0000 Subject: [PATCH] Update to mapbox-gl-js version 1.13.0 and add note --- examples/mapbox-layer.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/mapbox-layer.html b/examples/mapbox-layer.html index bd8bfa7ec6..4680cb56ef 100644 --- a/examples/mapbox-layer.html +++ b/examples/mapbox-layer.html @@ -3,12 +3,14 @@ layout: example.html title: Mapbox-gl Layer shortdesc: Example of a Mapbox-gl-js layer integration. docs: > - Show how to add a mapbox-gl-js layer in an openlayers map. **Note**: Make sure to get your own API key at https://www.maptiler.com/cloud/ when using this example. No map will be visible when the API key has expired. + Show how to add a mapbox-gl-js layer in an OpenLayers map. + **Note**: Make sure to get your own API key at https://www.maptiler.com/cloud/ when using this example. No map will be visible when the API key has expired. + mapbox-gl-js version 1.13.0 is used in this example as later versions require a Mapbox access token and are not compatible with older browsers. tags: "simple, mapbox, vector, tiles, maptiler" experimental: true resources: - - https://unpkg.com/mapbox-gl@1.11.1/dist/mapbox-gl.js - - https://unpkg.com/mapbox-gl@1.11.1/dist/mapbox-gl.css + - https://cdnjs.cloudflare.com/ajax/libs/mapbox-gl/1.13.0/mapbox-gl.js + - https://cdnjs.cloudflare.com/ajax/libs/mapbox-gl/1.13.0/mapbox-gl.css cloak: - key: get_your_own_D6rA4zTHduk6KOKTXzGB value: Get your own API key at https://www.maptiler.com/cloud/