Leaflet.Geodesic icon indicating copy to clipboard operation
Leaflet.Geodesic copied to clipboard

A copy constructor

Open sutarmin opened this issue 8 months ago • 3 comments

Hello Henry. Thank you for the lib!

Is there a way to create an instance of GeodesicLine from another GeodesicLine to copy the state from it and skip calculations? Like a copy constructor.

I want to draw three lines through the same points (line + border + invisible hover zone) and I'm looking for a way to make the calculations only once and reuse them for all lines.

sutarmin avatar Jun 21 '24 21:06 sutarmin