mapbox-gl-draw-snap-mode
mapbox-gl-draw-snap-mode copied to clipboard
SnapLineMode does not accept featureId
Original draw_line_string
mode accepts featureId
and from
options as an optional parameter of changeMode method. The SnapLineMode
ignores them and basically always create a new line feature.
I can create a PR if it's something you want to consider to add to this plugin.