KmlPolygon

open class KmlPolygon : DataPolygon<T>

Represents a KML Polygon. Contains a single array of outer boundary coordinates and an array of arrays for the inner boundary coordinates.

Constructors

Link copied to clipboard
constructor(outerBoundaryCoordinates: List<LatLng>, innerBoundaryCoordinates: List<List<LatLng>>)
Creates a new KmlPolygon object

Properties

Link copied to clipboard
val GEOMETRY_TYPE: String = "Polygon"

Functions

Link copied to clipboard
open fun getGeometryObject(): List<List<LatLng>>
Gets the coordinates of the Polygon
Link copied to clipboard
Gets the type of geometry
Link copied to clipboard
Gets an array of arrays of inner boundary coordinates
Link copied to clipboard
open fun getOuterBoundaryCoordinates(): List<LatLng>
Gets an array of outer boundary coordinates
Link copied to clipboard
open fun toString(): String