Awesome
MapLibre GL SVG Plugin
Status: New plugin, still being validated.
A maplibre-gl-js plugin that adds support for loading SVGs images into the maps image sprite.
Features:
- Load an SVG into the maps image sprite and use as an icon in a symbol layer, or as an fill pattern.
- Framework for templatable SVG icons. Great way to create reusable icons that you can programmatically change the styles of.
- HTML marker support
Known Limitations
- When loaded into the maps image sprite SVG's are converted into a data URI, and loaded as a static image into the maps image sprite. This means animations and CSS classes are not supported. All CSS styles should be embedded within the SVG. SVG's used with HTML markers will support CSS classes and animations as usual.
License
MIT
See License for full license text.