InnerPolygonOptions

data class InnerPolygonOptions(val coordinates: List<GeoPoint>, @ColorInt val fillColor: Int? = 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.

Constructors

Link copied to clipboard
constructor(coordinates: List<GeoPoint>, @ColorInt fillColor: Int? = null, innerPolygonOptions: InnerPolygonOptions? = null)

Properties

Link copied to clipboard

Coordinates of the inner polygon.

Link copied to clipboard
val fillColor: Int? = null

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

Link copied to clipboard

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