Merge pull request #12339 from mike-000/patch-4

Fix confusing import in Mapbox Style example
This commit is contained in:
Andreas Hocevar
2021-05-23 16:06:44 +02:00
committed by GitHub
+2 -2
View File
@@ -1,7 +1,7 @@
import FullScreen from '../src/ol/control/FullScreen.js'; import FullScreen from '../src/ol/control/FullScreen.js';
import apply from 'ol-mapbox-style'; import olms from 'ol-mapbox-style';
apply( olms(
'map', 'map',
'https://api.maptiler.com/maps/topo/style.json?key=get_your_own_D6rA4zTHduk6KOKTXzGB' 'https://api.maptiler.com/maps/topo/style.json?key=get_your_own_D6rA4zTHduk6KOKTXzGB'
).then(function (map) { ).then(function (map) {