public class GoogleMapShapeMarkers extends Object
| Constructor and Description |
|---|
GoogleMapShapeMarkers() |
| Modifier and Type | Method and Description |
|---|---|
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
|
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 |
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
|
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(ShapeMarkers shapeMarkers)
shapeMarkers - public void add(Marker marker)
marker - public void add(List<Marker> markers)
markers - public GoogleMapShape getShape()
public void setShape(GoogleMapShape shape)
public boolean contains(Marker marker)
marker - public ShapeMarkers getShapeMarkers(Marker marker)
marker - 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 - public static void addMarkerAsPolyline(Marker marker,
List<Marker> markers)
marker - markers -