PolygonOverlayOptions

data class PolygonOverlayOptions(val outerColor: Color, val innerPolygonOptions: InnerPolygonOptions)

Configures options for a PolygonOverlay, which can be added and displayed on the map. See the TomTomMap.addPolygonOverlay(options: PolygonOverlayOption) to check how to add a new PolygonOverlay.

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

See also

, which describes its properties in a more detailed way.

Parameters

outerColor

Color for the outer area of the PolygonOverlay. The whole world outside of inner polygon will be colored using this color.

innerPolygonOptions

inner polygon of the PolygonOverlay. There can be only one inner polygon in the overlay however inner polygons can be nested.

Constructors

Link copied to clipboard
fun PolygonOverlayOptions(outerColor: Color, innerPolygonOptions: InnerPolygonOptions)

Properties

Link copied to clipboard