Package-level declarations

Types

Link copied to clipboard
value class CapType

Type of line start/end caps.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class Polyline

A Polyline overlay which was added to the map.

Link copied to clipboard
fun interface PolylineClickListener

Interface for notifying about the Polyline being clicked.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface PolylineController

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

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class PolylineNotFoundException : RuntimeException

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

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class PolylineOperationNotSupportedException : RuntimeException

Exception thrown when an operation on Polyline with the given id is not supported.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
data class PolylineOptions(var coordinates: List<GeoPoint>, @ColorInt val lineColor: Int = DEFAULT_LINE_COLOR, val lineWidths: List<WidthByZoom> = listOf(WidthByZoom(DEFAULT_LINE_WIDTH)), @ColorInt val outlineColor: Int = DEFAULT_OUTLINE_COLOR, val outlineWidths: List<WidthByZoom> = listOf(WidthByZoom(DEFAULT_OUTLINE_WIDTH)), val lineStartCapType: CapType = DEFAULT_START_CAP_TYPE, val lineEndCapType: CapType = DEFAULT_END_CAP_TYPE, val isClickable: Boolean = true, val tag: String? = null, val patternImage: Image? = null)

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