PolylineController
interface PolylineController
Controls Polyline-specific features on the map. Allows Polyline management and the user interactions with the Polyline.
Important: This is a Public Preview API. It may be changed or removed at any time.
Functions
Link copied to clipboard
Registers the OnPolylineClickListener that will be notified about any Polyline being clicked. The clicked Polyline becomes a parameter of the OnPolylineClickListener.onPolylineClicked callback.
Link copied to clipboard
Adds a new Polyline based on the given PolylineOptions.
Link copied to clipboard
Removes the OnPolylineClickListener.
Link copied to clipboard
Removes all Polyline elements from the map.