public class FeatureShape extends Object
| Constructor and Description |
|---|
FeatureShape(long featureId)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMetadataShape(GoogleMapShape shape)
Add a metadata map shape
|
void |
addShape(GoogleMapShape shape)
Add a map shape
|
int |
count()
Get the count of map shapes
|
int |
countMetadataShapes()
Get the count of map metadata shapes
|
long |
getFeatureId()
Get feature id
|
List<GoogleMapShape> |
getMetadataShapes()
Get the map metadata shapes
|
List<GoogleMapShape> |
getShapes()
Get the map shapes
|
boolean |
hasMetadataShapes()
Determine if there are map metadata shapes
|
boolean |
hasShapes()
Determine if there are map shapes
|
void |
remove()
Remove all map shapes and metadata map shapes from the map and feature shape
|
void |
removeMetadataShapes()
Remove the map metadata shapes from the map and feature shape
|
void |
removeShapes()
Remove the map shapes from the map and feature shape
|
public FeatureShape(long featureId)
featureId - feature idpublic long getFeatureId()
public List<GoogleMapShape> getShapes()
public List<GoogleMapShape> getMetadataShapes()
public void addShape(GoogleMapShape shape)
shape - map shapepublic void addMetadataShape(GoogleMapShape shape)
shape - metadata map shapepublic int count()
public boolean hasShapes()
public int countMetadataShapes()
public boolean hasMetadataShapes()
public void remove()
public void removeShapes()
public void removeMetadataShapes()