Add mapbox-gl-js example

This commit is contained in:
Florent gravin
2018-11-13 17:40:12 +01:00
parent 7a472321c4
commit c62ebb9f61
2 changed files with 222 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
---
layout: example.html
title: Mapbox 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 Mapbox API key when using this example. No map will be visible when the API key has expired.
tags: "simple, mapbox, vector, tiles"
cloak:
- key: ER67WIiPdCQvhgsUjoWK
value: Your Mapbox access token from http://mapbox.com/ here
---
<div id="map" class="map"></div>