Skip to content

Mappy/mapbox-gl-style-editor

 
 

Repository files navigation

style-editor

Screenshot

A simple editor for Mapbox gl styles. Allows you to open an style file and edit the raw json data and see how the changes affects the map. Useful if you have exported a style from Mapbox Studio and want to edit it.

Usage

Edit a Mapbox gl json style. All tile data references by the style must already have been converted to vector tiles. This can be done using mapbox-tile-copy.

./style-editor.js <json style file>

style-conv

An experimental tool for converting Mapnik XML styles to Mapbox GL Styles.

Usage

./style-conv.js <Mapnik xml file> <output file> <tile URL>

Where the tile URL is a local or remote URL specifying the location of the vector tiles data (e.g http://localhost:8080/map?z={z}&x={x}&y={y})

spritemap-scaler

A tool for scaling coordinates of a Mapbox sprite map .json file (does not scale the image itself).

Usage

./spritemap-scaler.js <spritemap json file> <scale factor>

Dependencies

About

Browser based editor for Mapbox gl styles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.8%
  • HTML 16.2%