Demonstrates how to load SVG's as Leaflet icons via the data URI method.
Following was helpful to figure this out:
- Optimizing SVGs in Data URIs
- http://codepen.io/gabrien/pen/NqGvGq
- http://codepen.io/chriscoyier/pen/ZQgvyG/
This block is a modified example taken from Working with spatial data.
Built with blockbuilder.org
forked from enjalot's block: WWSD #1: Leaflet starter
forked from enjalot's block: WWSD #1: Leaflet starter
@chris I appreciate your example. However, I can only pass in SVG rectangles, but not circles or paths. I just posted a question in StackOverflow about it. Do you know the answer? https://stackoverflow.com/questions/45110081/svg-icons-in-leaflet-js-map