-
Notifications
You must be signed in to change notification settings - Fork 606
Open
Labels
apiAPI & programatically working with libraryAPI & programatically working with libraryfeaturehas PR
Description
On creation of a midpoint or a vertex, the new feature is initialized with a reference to the parent feature but none of the properties are passed down. This means that midpoints and vertices can't be styled based on user-provided properties. I'd like to work up a PR where the user-provided properties are passed down to these features for potential styling. Thoughts?
Parent references:
mapbox-gl-draw/src/lib/create_vertex.js
Line 19 in 5b22808
parent: parentId, mapbox-gl-draw/src/lib/create_midpoint.js
Line 24 in 5b22808
parent: parent,
awulkan, helenezspeer, JamesLMilner and ghigio2000
Metadata
Metadata
Assignees
Labels
apiAPI & programatically working with libraryAPI & programatically working with libraryfeaturehas PR