Gets a segment of a StaticPolyline.

Namespace: Reimers.Google.Map.Static
Assembly: Reimers.Google.Map (in Reimers.Google.Map.dll) Version: 5.3.95.699 (5.3.95.699)

Syntax

C#
public StaticPolyline GetSegment(
	ICoordinates startPoint,
	ICoordinates endPoint
)

Parameters

startPoint
Type: Reimers.Core.Maps..::..ICoordinates
The LatLng to start the segment at.
endPoint
Type: Reimers.Core.Maps..::..ICoordinates
The LatLng to end the segment at.

Return Value

A StaticPolyline.

Remarks

Both the start and end point must be points on the line, otherwise an empty line will be returned.

See Also