aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/main.js2
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",