How to manually draw a circle with vue-leaflet

Viewed 23

I am currently using vue-leaflet, i know that leaflet supports manual drawing, like circles, for exameple, by clicking on the map and dragging the circle borders you can expand or contract the circle.

However, I cannot find any of this at the VUE-LEAFLET documentation.

There are even some controls for drawing (you can choose circle, polygon, line..) but I can't seem to find any of this.

Here is a full example of what I want to achieve:

example

from leaflet docs

http://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html


EDIT :

Eventually, I found out there is a plugin which does exactly what I need:

https://github.com/hubertokf/vue2-leaflet-draw

0 Answers
Related