This repository was archived by the owner on Sep 20, 2019. It is now read-only.
This repository was archived by the owner on Sep 20, 2019. It is now read-only.
Using Leaflet Draw and editing drawn items #105
Closed
Description
From @MarkAPhillips on September 1, 2015 10:15
Hi - after all the changes to the control functionality what is the recommended approach now to be able to edit draw items added to a map via the Leaflet Draw control.
I have reviewed many of the issues and had this working in 0.8.5. I have now updated to 0.8.7 and everything is working as expected except being able to edit the drawn items.
Can I suggest the example for using the control is extended to include the following:
- Include the use of options as defined as follows:
angular.extend($scope, {
center: {},
paths: {},
controls: { draw: { draw: { position: "topright",marker: false,rectangle: false} } },
defaults: {},
});
- Include an example where the drawn items are editable as most use cases require this and would make it simpler to review rather than searching through all the issues which have varying examples, usually incomplete or possibly out of date.
Thanks!
Copied from original issue: tombatossals/angular-leaflet-directive#909
Metadata
Metadata
Assignees
Labels
No labels