Update to mapbox-gl-js version 1.13.0 and add note

This commit is contained in:
mike-000
2020-12-29 23:53:11 +00:00
parent 7778e373a7
commit 3405157d6d

View File

@@ -3,12 +3,14 @@ layout: example.html
title: Mapbox-gl Layer title: Mapbox-gl Layer
shortdesc: Example of a Mapbox-gl-js layer integration. shortdesc: Example of a Mapbox-gl-js layer integration.
docs: > 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" tags: "simple, mapbox, vector, tiles, maptiler"
experimental: true experimental: true
resources: resources:
- https://unpkg.com/mapbox-gl@1.11.1/dist/mapbox-gl.js - https://cdnjs.cloudflare.com/ajax/libs/mapbox-gl/1.13.0/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.css
cloak: cloak:
- key: get_your_own_D6rA4zTHduk6KOKTXzGB - key: get_your_own_D6rA4zTHduk6KOKTXzGB
value: Get your own API key at https://www.maptiler.com/cloud/ value: Get your own API key at https://www.maptiler.com/cloud/