Add vector tile example using ol-mapbox-style

This commit is contained in:
ahocevar
2018-11-13 13:51:28 +01:00
parent 647421f07b
commit 391fff38aa
4 changed files with 48 additions and 3 deletions

3
examples/mapbox-style.js Normal file
View File

@@ -0,0 +1,3 @@
import apply from 'ol-mapbox-style';
apply('map', 'https://maps.tilehosting.com/styles/bright/style.json?key=ER67WIiPdCQvhgsUjoWK');