public class CircleManager
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
CircleManager.Collection |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<O,C> |
mAllObjects |
protected GoogleMap |
mMap |
| Constructor and Description |
|---|
CircleManager(GoogleMap map) |
| Modifier and Type | Method and Description |
|---|---|
C |
getCollection(java.lang.String id)
Gets a named collection that was created by
newCollection(String) |
CircleManager.Collection |
newCollection() |
C |
newCollection(java.lang.String id)
Create a new named collection, which can later be looked up by
getCollection(String) |
void |
onCircleClick(Circle circle) |
boolean |
remove(O object)
Removes an object from its collection.
|
protected void |
removeObjectFromMap(Circle object) |
protected final GoogleMap mMap
protected final java.util.Map<O,C extends com.google.maps.android.collections.MapObjectManager.Collection> mAllObjects
public CircleManager.Collection newCollection()
protected void removeObjectFromMap(Circle object)
public void onCircleClick(Circle circle)
public C newCollection(java.lang.String id)
getCollection(String)id - a unique id for this collection.public C getCollection(java.lang.String id)
newCollection(String)id - the unique id for this collection.public boolean remove(O object)
object - the object to remove.