jointType property

JointType jointType
final

Indicates whether the segments of the polyline should be drawn as geodesics, as opposed to straight lines on the Mercator projection.

A geodesic is the shortest path between two points on the Earth's surface. The geodesic curve is constructed assuming the Earth is a sphere Joint type of the polyline line segments.

The joint type defines the shape to be used when joining adjacent line segments at all vertices of the polyline except the start and end vertices. See JointType for supported joint types. The default value is mitered.

Supported on Android only.

Implementation

// final bool geodesic;

/// Joint type of the polyline line segments.
///
/// The joint type defines the shape to be used when joining adjacent line segments at all vertices of the
/// polyline except the start and end vertices. See [JointType] for supported joint types. The default value is
/// mitered.
///
/// Supported on Android only.
final JointType jointType;