You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to move a Razor app using leaflet to Vue3 and so far everything works fine. However, I need to be able to edit a polygon. Previously I was using the leaflet-editable package for this and I am at a loss as to how to get this to work with Vue. Note I am also using leaflet-draw and NOT using the leaflet-toolbar instead opting for my own buttons. The leaflet-editable pages show that I should be able to just call .enableEdit() on the shape but I'm specifically having trouble getting that object. I can find the correct geojson object, but then I'm stuck. Nothing I try seems to work. I am sure it's installed/working correctly though as I can using the package to start a new polyline. I just can't figure out how to edit an existing polygon.
I am trying to move a Razor app using leaflet to Vue3 and so far everything works fine. However, I need to be able to edit a polygon. Previously I was using the leaflet-editable package for this and I am at a loss as to how to get this to work with Vue. Note I am also using leaflet-draw and NOT using the leaflet-toolbar instead opting for my own buttons. The leaflet-editable pages show that I should be able to just call .enableEdit() on the shape but I'm specifically having trouble getting that object. I can find the correct geojson object, but then I'm stuck. Nothing I try seems to work. I am sure it's installed/working correctly though as I can using the package to start a new polyline. I just can't figure out how to edit an existing polygon.
The text was updated successfully, but these errors were encountered: