Skip to content
/ mbx-devour Public template

This is a basic mapbox map hosted at caseymm.github.io/mbx-devour. The map is set up to display geojson passed to it through the url search parameters.

Notifications You must be signed in to change notification settings

caseymm/mbx-devour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mbx-devour

This is a basic mapbox map hosted at caseymm.github.io/mbx-devour. The map is set up to display geojson passed to it through the url search parameters.

URL Search Parameters

An example url would be built like this: https://caseymm.github.io/mbx-devour/?url=[your url]&fill=[your color]&fill-opacity=[your opacity]

e.g. https://caseymm.github.io/mbx-devour/?url=https://weather-warnings.s3.us-west-1.amazonaws.com/rfw/latest.json&fill=e60000&fill-opacity=.6

That example would render this on the map: Image of Red Flag Warning

Locally

  • build: npm run build
  • add, commit, push
  • deploy: npm run deploy

About

This is a basic mapbox map hosted at caseymm.github.io/mbx-devour. The map is set up to display geojson passed to it through the url search parameters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published