Package com.tomtom.sdk.maps.display.polygon

Types

Link copied to clipboard
fun interface OnPolygonClickListener

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
interface PolygonController

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

Link copied to clipboard
class PolygonNotFoundException(id: UniqueId) : RuntimeException

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<GeoCoordinate>,     val outlineColor: Color = Color.TRANSPARENT,     val outlineWidth: Double = DEFAULT_OUTLINE_WIDTH,     val fillColor: Color = DEFAULT_FILL_COLOR,     val image: Image? = null,     val isImageOverlay: Boolean = false)

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.