I use Vue2Leaflet and Leaflet-semicircle. I don’t have a problem when using Vue2Leaflet, but I don’t know how to use Leaflet-semicircle in my VueJS project. Answer I resolved this problem: I just didn’t have L function from leaflet
Tag: vue2leaflet
How to color vue2 leaflet markers dynamically?
I have an google-maps_pin.svg file which represents a google-maps pin. I would like to color the different markers (generated with v-for) based on categories (restaurant, art gallery, etc.) dynamically. Is there a way to achieve that with vue2 leaflet? Here’s my map: The color I want to give to the individual pins is stored in markedLocation.info.category.color variable. Answer Yes you