Mapbox wind animation built with MTS and GL JS (portable to mobile SDKs)
https://jsfiddle.net/tsuzk/sg2qfx8t/show
The data is not in the respository so you need to run
npm i
node convert.js
which generates these files:
wind_highzoom.geojsonld
wind_midzoom.geojsonld
wind_lowzoom.geojsonld
- Get a Mapbox secret token and set it as
SK_TOKEN
environment variable. - Set your account name to
ACCOUNT
environment variable. - Replace
takutosuzukimapbox
with your account name in therecipe_highzoom.json
,recipe_midzoom.json
,recipe_lowzoom.json
. - Run the commands in
mts_upload.md
.
Run below and replace takutosuzukimapbox
with your account name and replace access_token
variable with your token.