PolygonController
interface PolygonController
Controls Polygon-specific features on the map. Allows Polygon management and the user interactions with the Polygon.
Inheritors
Functions
Link copied to clipboard
Adds a new Polygon based on the given PolygonOptions.
Link copied to clipboard
Registers the PolygonClickListener that will be notified about any Polygon being clicked. The clicked Polygon becomes a parameter of the PolygonClickListener.onPolygonClicked callback.
Link copied to clipboard
Removes the PolygonClickListener.
Link copied to clipboard
Removes all Polygon elements with the provided tag from the map. If tag is null then all polygons that don't have a tag will be removed. The tag is set with the PolygonOptions.tag property.