Skip to content

darssen/mapbox-slider-play-button-wcvalencia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mapbox example using play/pause button

Sample extracted from https://docs.mapbox.com/mapbox-gl-js/example/timeline-animation/ and added play functionality for the slider.

Mapbox Token

It is necessary to have a mapbox access token. For obvious reasons the token is not stored in the repo. The way to add your token is to create a mapbox-token-setup.js file with the following content.

const myToken = 'YOUR_TOKEN'

Installation

There is nothing to install here. Just open the index.html in your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published