Package 

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()

    • Constructor Summary

      Constructors 
      Constructor Description
      PolylineManager(GoogleMap map)
    • Method Summary

      Modifier and Type Method Description
      PolylineManager.Collection newCollection()
      void onPolylineClick(@NonNull() Polyline polyline)
      • Methods inherited from class com.google.maps.android.collections.MapObjectManager

        getCollection, newCollection, newCollection, remove
      • Methods inherited from class com.google.android.gms.maps.GoogleMap.OnPolylineClickListener

        onPolylineClick
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait