PolygonOptions
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)
Content copied to clipboard
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.
See also
, which describes its properties in a more detailed way.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
Constructors
Link copied to clipboard
fun PolygonOptions( coordinates: List<GeoCoordinate>, outlineColor: Color = Color.TRANSPARENT, outlineWidth: Double = DEFAULT_OUTLINE_WIDTH, fillColor: Color = DEFAULT_FILL_COLOR, image: Image? = null, isImageOverlay: Boolean = false)
Content copied to clipboard