public class StaticMarker extends Object implements Serializable
| Constructor and Description |
|---|
StaticMarker(double lat,
double lon) |
StaticMarker(String query) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAnchor() |
String |
getColor() |
String |
getCustomIconUrl() |
Character |
getLabel() |
Integer |
getzIndex() |
Integer |
getZoom() |
boolean |
isShadow() |
void |
setAnchor(String anchor)
Set the anchor as an x,y point of the icon (such as 10,5), or as a
predefined alignment using one of the following values: top, bottom,
left, right, center, topleft, topright, bottomleft, or bottomright.
|
void |
setColor(Color color) |
void |
setCustomIconUrl(String customIconUrl) |
void |
setHexColor(String hexColor) |
void |
setLabel(Character label) |
void |
setShadow(boolean shadow) |
void |
setzIndex(Integer zIndex) |
void |
setZoom(Integer zoom)
Only relevant, if this marker will be the only annotation on the map.
|
String |
toString()
Static Google Map Marker Definition
|
public StaticMarker(double lat,
double lon)
public StaticMarker(String query)
public void setHexColor(String hexColor)
hexColor - rrggbb value, e.g.: 00FF00 for green.StaticMarker#setColor(String)public String getColor()
public void setColor(Color color)
color - setHexColor(String)public Character getLabel()
public void setLabel(Character label)
label - specifies a single uppercase alphanumeric character from the
set {A-Z, 0-9}.public String getCustomIconUrl()
public void setCustomIconUrl(String customIconUrl)
public String getAnchor()
public void setAnchor(String anchor)
anchor - public Integer getZoom()
public void setZoom(Integer zoom)
zoom - 1: World 5: Landmass/continent 10: City 15: Streets 20:
Buildingspublic boolean isShadow()
public void setShadow(boolean shadow)
public String toString()
public Integer getzIndex()
public void setzIndex(Integer zIndex)
Copyright © 2018. All rights reserved.