Class PolylineManager
-
- All Implemented Interfaces:
-
com.google.android.gms.maps.GoogleMap.OnPolylineClickListener
public class PolylineManager extends MapObjectManager<Polyline, PolylineManager.Collection> implements GoogleMap.OnPolylineClickListener
Keeps track of collections of polylines on the map. Delegates all Polyline-related events to each collection's individually managed listeners.
All polyline operations (adds and removes) should occur via its collection class. That is, don't add a polyline via a collection, then remove it via Polyline.remove()
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPolylineManager.CollectionA collection of Polylines on the map with its own set of listeners.
-
Constructor Summary
Constructors Constructor Description PolylineManager(GoogleMap map)
-
Method Summary
Modifier and Type Method Description PolylineManager.CollectionnewCollection()UnitremoveObjectFromMap(Polyline polyline)UnitsetVisible(Polyline mapObject, Boolean visible)UnitonPolylineClick(Polyline polyline)-
-
Method Detail
-
newCollection
PolylineManager.Collection newCollection()
-
removeObjectFromMap
Unit removeObjectFromMap(Polyline polyline)
-
setVisible
Unit setVisible(Polyline mapObject, Boolean visible)
-
onPolylineClick
Unit onPolylineClick(Polyline polyline)
-
-
-
-