diff options
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/main.js b/src/js/main.js index b1ec6fb..3d70e9b 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -13,7 +13,7 @@ function wrapElmApplication(elmApp, settings = {}) { ); if (options.token) { - mapboxgl.token = options.token; + mapboxgl.accessToken = options.token; } window.customElements.define( "elm-mapbox-map", |