GeoJsonPolygon

A GeoJsonPolygon geometry contains an array of arrays of com.google.android.gms.maps.model.LatLngs. The first array is the polygon exterior boundary. Subsequent arrays are holes.

Constructors

Link copied to clipboard
constructor(coordinates: List<out List<LatLng>>)
Creates a new GeoJsonPolygon object

Functions

Link copied to clipboard
open fun getCoordinates(): List<out List<LatLng>>
Gets a list of a list of coordinates of the GeoJsonPolygons
Link copied to clipboard
open fun getGeometryObject(): List<out List<LatLng>>
Gets the stored geometry object
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
Gets an array of outer boundary coordinates
Link copied to clipboard
open fun getType(): String
Gets the type of geometry.
Link copied to clipboard
open fun toString(): String