PolygonController
interface PolygonController
Controls Polygon-specific features on the map. Allows Polygon management and the user interactions with the Polygon.
Important: This is a Public Preview API. It may be changed or removed at any time.
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
Removes the OnPolygonClickListener.
Link copied to clipboard
Removes all Polygon elements from the map.