Skip to content

feat(map): style leaflet markers depending on the options

Fixes #121 (closed)

This one was complicated because I had to figure out how to change the shape used by leaflet vector grid, I had to do a bit of reverse engineering but I managed to find a way to overwrite the drawing function. And then since we're using canvas instead of svg, I also had to find a way to draw a diamond shape with canvas (of course all examples that I could find to update the path of the shape were using SVG, not canvas...).

Edited by Olivier Combe

Merge request reports