InnerPolygonOptions

data class InnerPolygonOptions(val coordinates: List<GeoPoint>, val fillColor: Color? = null, val innerPolygonOptions: InnerPolygonOptions? = null)

Configures options for a inner polygon that will be used in PolygonOverlay. See the TomTomMap.addPolygonOverlay(options: PolygonOverlayOptions) to check how to add a new PolygonOverlay. Inner polygons can be nested.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

coordinates

Coordinates of the inner polygon.

fillColor

Color that will be used to draw area inside the polygon except the area taken by innerPolygonOptions.

innerPolygonOptions

Optional nested inner polygon that will be drawn inside this polygon.

Constructors

Link copied to clipboard
fun InnerPolygonOptions(coordinates: List<GeoPoint>, fillColor: Color? = null, innerPolygonOptions: InnerPolygonOptions? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val fillColor: Color? = null
Link copied to clipboard