Skip to content
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
@nmccready

Description

@nmccready

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:

  1. Include the use of options as defined as follows:
    angular.extend($scope, {
                center: {},
                paths: {},
                controls: { draw: { draw: {   position: "topright",marker: false,rectangle: false} } },
                defaults: {},
            });
  1. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions