aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
authorJakub Hampl <kopomir@gmail.com>2018-06-25 13:59:42 +0100
committerJakub Hampl <kopomir@gmail.com>2018-06-25 13:59:44 +0100
commit181401c4ffd06c127c57e27e2e88b05f7fdd1f88 (patch)
tree4c37265383c2c8eb19fad470ac71c9e04d256522 /src/js
parent61477af04bafa8ba11a3d76ce5de3162e8d88255 (diff)
Fix issue with passing in token
Diffstat (limited to 'src/js')
-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",