Package-level declarations

Types

Link copied to clipboard
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.

Link copied to clipboard

Interface for notifying about the Polygon being clicked.

Link copied to clipboard
class Polygon

A Polygon overlay which was added to the map.

Link copied to clipboard

Controls Polygon-specific features on the map. Allows Polygon management and the user interactions with the Polygon.

Link copied to clipboard

Exception thrown when a Polygon with the given id cannot be found on the map.

Link copied to clipboard
data class PolygonOptions(val coordinates: List<GeoPoint>, val outlineColor: Color = Color.TRANSPARENT, @FloatRange(from = 0.0) val outlineWidth: Double = DEFAULT_OUTLINE_WIDTH, val fillColor: Color = DEFAULT_FILL_COLOR, val image: Image? = null, val isImageOverlay: Boolean = false, val isClickable: Boolean = true)

Configures options for a Polygon overlay which can be added and displayed on the map. See the TomTomMap.addPolygon(options: PolygonOptions) to check how to add a new Polygon.

Link copied to clipboard

PolygonOverlay consists of inner polygon and outer area color used to color area outside of polygon.

Link copied to clipboard

Controls PolygonOverlay-specific features on the map. Allows PolygonOverlay management and the user interactions with the PolygonOverlay.

Link copied to clipboard

Exception thrown when a PolygonOverlay with the given id cannot be found on the map.

Link copied to clipboard
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.