Example of OpenLayers using Snap/Split and GhostNodes to keep the junctions of lines as a network.
View on GitHub
snapping, splitting, GhostNodes, network
Shows usage of snapping, splitting and GhostNodes to keep the junctions of lines as a network.
Try:
- Select "Modify Feature" tool and modify a end point of any line, the other lines still joined if "Nodes" button is on.
View the ghost-nodes.js
source to see how this is done.