-
- All Implemented Interfaces:
-
com.google.android.gms.maps.GoogleMap.OnCircleClickListener
public class CircleManager extends MapObjectManager<Circle, CircleManager.Collection> implements GoogleMap.OnCircleClickListener
Keeps track of collections of circles on the map. Delegates all Circle-related events to each collection's individually managed listeners.
All circle operations (adds and removes) should occur via its collection class. That is, don't add a circle via a collection, then remove it via Circle.remove()
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCircleManager.Collection
-
Constructor Summary
Constructors Constructor Description CircleManager(GoogleMap map)
-
Method Summary
Modifier and Type Method Description CircleManager.CollectionnewCollection()voidonCircleClick(@NonNull() Circle circle)-
Methods inherited from class com.google.maps.android.collections.MapObjectManager
getCollection, newCollection, newCollection, remove -
Methods inherited from class com.google.android.gms.maps.GoogleMap.OnCircleClickListener
onCircleClick -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
newCollection
CircleManager.Collection newCollection()
-
onCircleClick
void onCircleClick(@NonNull() Circle circle)
-
-
-
-