public class PolygonManager.Collection
extends com.google.maps.android.collections.MapObjectManager.Collection
Constructor and Description |
---|
Collection() |
Modifier and Type | Method and Description |
---|---|
void |
addAll(java.util.Collection<PolygonOptions> opts) |
void |
addAll(java.util.Collection<PolygonOptions> opts,
boolean defaultVisible) |
Polygon |
addPolygon(PolygonOptions opts) |
java.util.Collection<Polygon> |
getPolygons() |
void |
hideAll() |
boolean |
remove(Polygon polygon) |
void |
setOnPolygonClickListener(GoogleMap.OnPolygonClickListener polygonClickListener) |
void |
showAll() |
public Polygon addPolygon(PolygonOptions opts)
public void addAll(java.util.Collection<PolygonOptions> opts)
public void addAll(java.util.Collection<PolygonOptions> opts, boolean defaultVisible)
public void showAll()
public void hideAll()
public boolean remove(Polygon polygon)
remove
in class com.google.maps.android.collections.MapObjectManager.Collection
public java.util.Collection<Polygon> getPolygons()
public void setOnPolygonClickListener(GoogleMap.OnPolygonClickListener polygonClickListener)