Skip to content
This repository was archived by the owner on Apr 7, 2020. It is now read-only.
This repository was archived by the owner on Apr 7, 2020. It is now read-only.

lfDraw edit attributes gets overwritten when initial featureGroup is undefined #19

@eugenehuangsg

Description

@eugenehuangsg

lfDraw currently supports adding of featureGroup but there is an issue.

Given a configuration

edit: {
    edit: true,
    remove: false
}

Expected: (adding featureGroup)

edit: {
    edit: true,
    remove: false
    featureGroup: new L.FeatureGroup()
}

Current: (replacing the attributes entirely)

edit: {
    featureGroup: new L.FeatureGroup()
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions