public class GoogleMapShapeMarkers extends Object
| Constructor and Description |
|---|
GoogleMapShapeMarkers() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(GoogleMapShapeMarkers googleShapeMarkers)
Add an embedded shape markers
|
void |
add(List<Marker> markers)
Add a list of markers with no shape
|
void |
add(Marker marker)
Add a marker with no shape
|
void |
add(Marker marker,
ShapeMarkers shapeMarkers)
Add the marker to the shape
|
void |
add(ShapeMarkers shapeMarkers)
Add all markers in the shape
|
void |
add(String markerId,
ShapeMarkers shapeMarkers)
Add the marker id to the shape
|
static void |
addMarkerAsPolygon(Marker marker,
List<Marker> markers)
Polygon add a marker in the list of markers to where it is closest to the
the surrounding points
|
static void |
addMarkerAsPolyline(Marker marker,
List<Marker> markers)
Polyline add a marker in the list of markers to where it is closest to
the the surrounding points
|
boolean |
contains(Marker marker)
Check if contains the marker
|
boolean |
contains(String markerId)
Check if contains the marker id
|
boolean |
delete(Marker marker)
Get the shape markers for a marker, only returns a value of shapes that
can be edited
|
GoogleMapShape |
getShape() |
ShapeMarkers |
getShapeMarkers(Marker marker)
Get the shape markers for a marker, only returns a value of shapes that
can be edited
|
ShapeMarkers |
getShapeMarkers(String markerId)
Get the shape markers for a marker id, only returns a value of shapes
that can be edited
|
boolean |
isValid()
Determines if the shape is in a valid state
|
void |
remove()
Removes all objects added to the map
|
void |
setShape(GoogleMapShape shape) |
void |
update()
Updates all objects that could have changed from moved markers
|
public void add(Marker marker, ShapeMarkers shapeMarkers)
marker - shapeMarkers - public void add(String markerId, ShapeMarkers shapeMarkers)
markerId - shapeMarkers - public void add(ShapeMarkers shapeMarkers)
shapeMarkers - public void add(Marker marker)
marker - public void add(GoogleMapShapeMarkers googleShapeMarkers)
googleShapeMarkers - public GoogleMapShape getShape()
public void setShape(GoogleMapShape shape)
public boolean contains(Marker marker)
marker - public boolean contains(String markerId)
markerId - public ShapeMarkers getShapeMarkers(Marker marker)
marker - public ShapeMarkers getShapeMarkers(String markerId)
markerId - public boolean delete(Marker marker)
marker - public void remove()
public void update()
public boolean isValid()
public static void addMarkerAsPolygon(Marker marker, List<Marker> markers)
marker - markers -