public class GoogleMapShape extends Object
| Constructor and Description |
|---|
GoogleMapShape(GeometryType geometryType,
GoogleMapShapeType shapeType,
Object shape)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
boundingBox()
Get a bounding box that includes the shape
|
void |
expandBoundingBox(BoundingBox boundingBox)
Expand the bounding box to include the shape
|
GeometryType |
getGeometryType()
Get the geometry type
|
Object |
getShape()
Get the shape
|
GoogleMapShapeType |
getShapeType()
Get the shape type
|
boolean |
isValid()
Determines if the shape is in a valid state
|
void |
remove()
Removes all objects added to the map
|
void |
setGeometryType(GeometryType geometryType)
Set the geometry type
|
void |
setShape(Object shape)
Set the shape
|
void |
setShapeType(GoogleMapShapeType shapeType)
Set the shape type
|
void |
update()
Updates all objects that could have changed from moved markers
|
public GoogleMapShape(GeometryType geometryType, GoogleMapShapeType shapeType, Object shape)
geometryType - shapeType - shape - public GeometryType getGeometryType()
public void setGeometryType(GeometryType geometryType)
geometryType - public GoogleMapShapeType getShapeType()
public void setShapeType(GoogleMapShapeType shapeType)
shapeType - public Object getShape()
public void setShape(Object shape)
shape - public void remove()
public void update()
public boolean isValid()
public BoundingBox boundingBox()
public void expandBoundingBox(BoundingBox boundingBox)
boundingBox -