Class PolygonManager

  • All Implemented Interfaces:
    com.google.android.gms.maps.GoogleMap.OnPolygonClickListener

    
    public class PolygonManager
    extends MapObjectManager<Polygon, PolygonManager.Collection> implements GoogleMap.OnPolygonClickListener
                        

    Keeps track of collections of polygons on the map. Delegates all Polygon-related events to each collection's individually managed listeners.

    All polygon operations (adds and removes) should occur via its collection class. That is, don't add a polygon via a collection, then remove it via Polygon.remove()

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class PolygonManager.Collection

      A collection of Polygons on the map with its own set of listeners.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      PolygonManager(GoogleMap map)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description