SVG
Scalable Vector Graphics (SVG) is a markup language for describing two-dimensional vector graphics.
You can upload SVG images to your custom style in the Mapbox Studio style editor. You can also use the Styles API to upload SVGs to an existing sprite.
Unsupported SVG elements and attributes
The Mapbox uploader does not support all possible SVG elements and attributes. For a full list of supported and unsupported SVG elements and attributes, see the Mapnik SVG support page.
Related resources:
- Scalable Vector Graphics (SVG) documentation
- Troubleshooting SVG image errors in Mapbox Studio
- Add points to a web map tutorial, part 2: create a style: upload a custom SVG and use it in a map style
- Styles API: Add new image to sprite
- Example SVG image:
このpageは役に立ちましたか?