Skip to content

alantgeo/mapbox-compare-maps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Mapbox Compare Maps

Simply build up a URL like this:

https://alantgeo.github.io/mapbox-compare-maps/#left=USERNAME.TILESET&right=USERNAME.TILESET&mouse=true&access_token=ACCESS_TOKEN&location=ZOOM/LAT/LON

Parameters

  • left required Style ID of left map (username/styleid or username.tileset)
  • right required Style ID of right map (username/styleid or username.tileset)
  • access_token required Mapbox Access Token
  • mouse optional If true the swipe follows the cursor. (Default: false)
  • location optional ZOOM/LAT/LON default location. (Default: Style default location)
  • title optional If true the style titel is shown. (Default: false)

About

App to compare two Mapbox Maps

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages