addPolygonMapObject abstract method

PolygonMapObject addPolygonMapObject()

Creates and adds a polygon map object to the location view. Returns A PolygonMapObject instance PolygonMapObject if successful, null otherwise.

Example:

// Add polygon map object
_polygonMapObject = _locationWindow!.addPolygonMapObject();
print("Added polygon map object");

Implementation

PolygonMapObject addPolygonMapObject();