Package-level declarations

Types

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

Link copied to clipboard
class Polygon

A Polygon overlay which was added to the map.

Link copied to clipboard
fun interface PolygonClickListener

Interface for notifying about the Polygon being clicked.

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>,     @ColorInt val outlineColor: Int = Color.TRANSPARENT,     @FloatRange(from = 0.0) val outlineWidth: Double = DEFAULT_OUTLINE_WIDTH,     @ColorInt val fillColor: Int = DEFAULT_FILL_COLOR,     val image: Image? = null,     val isImageOverlay: Boolean = false,     val isClickable: Boolean = true,     val tag: String? = null)

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(@ColorInt val outerColor: Int, 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.