All examples By author By category About

mpmckenna8

mapbox-gl.js drag a point and have a line that connects it to another point move

A pretty contrived example to try to help someone to show how to drag circles and have a line move with it. You can drag the light blue circle around and the line connecting it to the red point moves with it.