I have a tool on the map that lets the user draw a line. Now I want to give the user the option to split the line to multiple lines, to join them back together to one line later.
How can I do that ?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityI have a tool on the map that lets the user draw a line. Now I want to give the user the option to split the line to multiple lines, to join them back together to one line later.
How can I do that ?
Hi for spatial operations on the client side, take a look at the turf JS library,
else deal with it server side !