From f6f731029fa2b0a7d3f2a1b4675ca2cc7a29d2c6 Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Sun, 23 May 2021 11:02:44 +0100 Subject: [PATCH] fix confusing import --- examples/mapbox-style.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {