addVertices

open fun addVertices(@NonNull vertices: List<GeoCoordinates>): PolygonData.Builder

Adds GeoCoordinates at the end of the border line of the MapPolygon.

Parameters

vertices

List of GeoCoordinates that defines additional part of the Polygon.


open fun addVertices(@NonNull nextVertex: Array<GeoCoordinates>): PolygonData.Builder

Adds the GeoCoordinate at the end of the border of the MapPolygon.

Parameters

nextVertex

GeoCoordinates that defines next vertex(s) of the Polygon.