diff --git a/examples/mapbox-style.js b/examples/mapbox-style.js index 03f712e594..2fa4632653 100644 --- a/examples/mapbox-style.js +++ b/examples/mapbox-style.js @@ -1,7 +1,7 @@ import FullScreen from '../src/ol/control/FullScreen.js'; -import apply from 'ol-mapbox-style'; +import olms from 'ol-mapbox-style'; -apply( +olms( 'map', 'https://api.maptiler.com/maps/topo/style.json?key=get_your_own_D6rA4zTHduk6KOKTXzGB' ).then(function (map) {