mapbox-gl-draw-snap-mode
mapbox-gl-draw-snap-mode copied to clipboard
Custom mode for Mapbox GL Draw that adds snapping ability while drawing features.
features and the vertexPriority in KM are now passed to the functions that uses them
Original `draw_line_string` mode accepts `featureId` and `from` options as an optional parameter of [changeMode](https://github.com/mapbox/mapbox-gl-draw/blob/main/docs/API.md#changemodemode-string-options-object-draw) method. The `SnapLineMode` ignores them and basically always create a new line feature. I can create...
Really nice this work! I have a feature request. I am working in architecture and sometimes walls or other objects need to be extended, so for instance in the case...
First - thanks, this library is amazing. I have worked snapping in the past and it's a real pain! I ran into a bit of an issue attempting to draw...