diff options
author | Jakub Hampl <kopomir@gmail.com> | 2018-06-25 13:59:42 +0100 |
---|---|---|
committer | Jakub Hampl <kopomir@gmail.com> | 2018-06-25 13:59:44 +0100 |
commit | 181401c4ffd06c127c57e27e2e88b05f7fdd1f88 (patch) | |
tree | 4c37265383c2c8eb19fad470ac71c9e04d256522 /src/js/main.js | |
parent | 61477af04bafa8ba11a3d76ce5de3162e8d88255 (diff) |
Fix issue with passing in token
Diffstat (limited to 'src/js/main.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", |