Is there a way to snap to the end of a polyline rather than just one of the vertices with snappingManager?
Solved! Go to Solution.
No, not the endpoints (unless the lines only have two nodes).
You can set up the snapping manager to either snap to edges or vertices (but not endpoints).
https://developers.arcgis.com/javascript/jsapi/snappingmanager-amd.html
Untested idea: Depending on your app, if you could extract the endpoints and add a point layer, then you could set it up to only snap to this end-point-layer.
No, not the endpoints (unless the lines only have two nodes).
You can set up the snapping manager to either snap to edges or vertices (but not endpoints).
https://developers.arcgis.com/javascript/jsapi/snappingmanager-amd.html
Untested idea: Depending on your app, if you could extract the endpoints and add a point layer, then you could set it up to only snap to this end-point-layer.
I suspected that. Thank's Bjorn.
j.