public class GeoJsonPointStyle extends Style
mMarkerOptions, mPolygonOptions, mPolylineOptions
Constructor and Description |
---|
GeoJsonPointStyle()
Creates a new PointStyle object
|
Modifier and Type | Method and Description |
---|---|
float |
getAlpha()
Gets the alpha of the GeoJsonPoint.
|
float |
getAnchorU()
Gets the Anchor U coordinate of the GeoJsonPoint.
|
float |
getAnchorV()
Gets the Anchor V coordinate of the GeoJsonPoint.
|
java.lang.String[] |
getGeometryType()
Gets the type of geometries this style can be applied to
|
BitmapDescriptor |
getIcon()
Gets a bitmap image for the GeoJsonPoint
|
float |
getInfoWindowAnchorU()
Gets the info window anchor U coordinate of the GeoJsonPoint.
|
float |
getInfoWindowAnchorV()
Gets the info window anchor V coordinate of the GeoJsonPoint.
|
float |
getRotation()
Gets the rotation of the GeoJsonPoint in degrees clockwise about the marker's anchor point
|
java.lang.String |
getSnippet()
Gets the snippet of the GeoJsonPoint
|
java.lang.String |
getTitle()
Gets the title of the GeoJsonPoint
|
float |
getZIndex()
Gets the z index of the GeoJsonLineString
|
boolean |
isDraggable()
Gets whether the GeoJsonPoint is draggable
|
boolean |
isFlat()
Gets whether the GeoJsonPoint is flat
|
boolean |
isVisible()
Gets whether the GeoJsonPoint is visible
|
void |
setAlpha(float alpha)
Sets the alpha of the GeoJsonPoint.
|
void |
setAnchor(float anchorU,
float anchorV)
Sets the Anchor U and V coordinates of the GeoJsonPoint.
|
void |
setDraggable(boolean draggable)
Sets the GeoJsonPoint to be draggable
|
void |
setFlat(boolean flat)
Sets the GeoJsonPoint to be flat
|
void |
setIcon(BitmapDescriptor bitmap)
Sets a bitmap image for the GeoJsonPoint
|
void |
setInfoWindowAnchor(float infoWindowAnchorU,
float infoWindowAnchorV)
Sets the info window anchor U and V coordinates of the GeoJsonPoint.
|
void |
setRotation(float rotation)
Sets the rotation of the GeoJsonPoint in degrees clockwise about the marker's anchor point
|
void |
setSnippet(java.lang.String snippet)
Sets the snippet of the GeoJsonPoint
|
void |
setTitle(java.lang.String title)
Sets the title of the GeoJsonPoint
|
void |
setVisible(boolean visible)
Sets whether the GeoJsonPoint is visible
|
void |
setZIndex(float zIndex)
Sets the z index of the GeoJsonLineString
|
MarkerOptions |
toMarkerOptions()
Gets a new MarkerOptions object containing styles for the GeoJsonPoint
|
java.lang.String |
toString() |
setLineStringWidth, setMarkerHotSpot, setMarkerRotation, setPolygonFillColor, setPolygonStrokeWidth
public java.lang.String[] getGeometryType()
public float getAlpha()
public void setAlpha(float alpha)
alpha
- alpha value of the GeoJsonPointpublic float getAnchorU()
com.google.android.gms.maps.model.MarkerOptions#getAnchorU()
.public float getAnchorV()
com.google.android.gms.maps.model.MarkerOptions#getAnchorV()
.public void setAnchor(float anchorU, float anchorV)
com.google.android.gms.maps.model.MarkerOptions#anchor(float, float)
()}.anchorU
- Anchor U coordinate of the GeoJsonPointanchorV
- Anchor V coordinate of the GeoJsonPointpublic boolean isDraggable()
public void setDraggable(boolean draggable)
draggable
- true if GeoJsonPoint is draggable, false if not draggablepublic boolean isFlat()
public void setFlat(boolean flat)
flat
- true if GeoJsonPoint is flat, false if not flatpublic BitmapDescriptor getIcon()
public void setIcon(BitmapDescriptor bitmap)
bitmap
- bitmap descriptor for the GeoJsonPointpublic float getInfoWindowAnchorU()
com.google.android.gms.maps.model.MarkerOptions#getInfoWindowAnchorU()
.public float getInfoWindowAnchorV()
com.google.android.gms.maps.model.MarkerOptions#getInfoWindowAnchorV()
.public void setInfoWindowAnchor(float infoWindowAnchorU, float infoWindowAnchorV)
com.google.android.gms.maps.model.MarkerOptions#infoWindowAnchor(float, float)
.infoWindowAnchorU
- info window anchor U coordinate of the GeoJsonPointinfoWindowAnchorV
- info window anchor V coordinate of the GeoJsonPointpublic float getRotation()
getRotation
in class Style
public void setRotation(float rotation)
rotation
- rotation value of the GeoJsonPointpublic java.lang.String getSnippet()
public void setSnippet(java.lang.String snippet)
snippet
- sets the snippet value of the GeoJsonPointpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- title value of the GeoJsonPointpublic boolean isVisible()
public void setVisible(boolean visible)
visible
- true if GeoJsonPoint is visible, false if not visiblepublic MarkerOptions toMarkerOptions()
public java.lang.String toString()
toString
in class java.lang.Object
public float getZIndex()
public void setZIndex(float zIndex)
zIndex
- z index value of the GeoJsonPoint