You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, the offset option can only take a given offset from the start or the end of the line in either meters or pixels.
But is it possible to write something like var polyline = L.polyline(latlngs).arrowheads({offsets: {end: '50%'}})
?
Or maybe a way to get the polyline length and calculate an offset from there ?
Thanks in advance
The text was updated successfully, but these errors were encountered:
For now, the offset option can only take a given offset from the start or the end of the line in either meters or pixels.
But is it possible to write something like
var polyline = L.polyline(latlngs).arrowheads({offsets: {end: '50%'}})
?
Or maybe a way to get the polyline length and calculate an offset from there ?
Thanks in advance
The text was updated successfully, but these errors were encountered: