advancePolylinePosition static method

PolylinePosition advancePolylinePosition(
  1. Polyline polyline,
  2. PolylinePosition position, {
  3. required double distance,
})

Advance the polyline position by a specified distance in meters.

polyline The polyline. position The polyline position. distance Distance.

Implementation

static mapkit_geometry_geometry.PolylinePosition advancePolylinePosition(
  mapkit_geometry_geometry.Polyline polyline,
  mapkit_geometry_geometry.PolylinePosition position, {
  required core.double distance,
}) {
  return _advancePolylinePosition(
    polyline,
    position,
    distance: distance,
  );
}