I have a polyline between 2 coordinate.
Location1(lat1, lon1)
Location2(lat2, lon2)
I know how to set a marker in center of polyline with
Marker1( (lat1+lat2)/2 , (lon1+lon2)/2 ) that is working fine
But when polyline is very long (100 meters) I want to put on polyline a marker every 20 meters.
How to calculate coordinate for each marker to add to polyline?
Location1(lat1, lon1)
Location2(lat2, lon2)
I know how to set a marker in center of polyline with
Marker1( (lat1+lat2)/2 , (lon1+lon2)/2 ) that is working fine
But when polyline is very long (100 meters) I want to put on polyline a marker every 20 meters.
How to calculate coordinate for each marker to add to polyline?