PolygonController
Functions
Link copied to clipboard
Registers the OnPolygonClickListener that will be notified about any Polygon being clicked. The clicked Polygon becomes a parameter of the OnPolygonClickListener.onPolygonClicked callback.
Link copied to clipboard
Adds a new Polygon based on the given PolygonOptions.
Link copied to clipboard
abstract fun removeOnPolygonClickListener(listener: OnPolygonClickListener)
Content copied to clipboard
Removes the OnPolygonClickListener.
Link copied to clipboard
Removes all Polygon elements from the map.