public class KmlStyle extends Style
mMarkerOptions, mPolygonOptions, mPolylineOptions
Modifier and Type | Method and Description |
---|---|
static int |
computeRandomColor(int color)
Computes a random color given an integer.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getBalloonOptions()
Gets the balloon options
|
double |
getIconScale()
Gets the scale for a marker icon
|
java.lang.String |
getIconUrl()
Gets the url for the marker icon
|
MarkerOptions |
getMarkerOptions()
Gets a MarkerOption
|
PolygonOptions |
getPolygonOptions()
Gets a PolygonOption
|
PolylineOptions |
getPolylineOptions()
Gets a PolylineOption
|
boolean |
hasBalloonStyle()
Gets whether a BalloonStyle has been set
|
boolean |
hasFill()
Gets whether the Polygon fill is set
|
boolean |
hasOutline()
Gets whether the Polygon outline is set
|
boolean |
isLineRandomColorMode()
Checks whether the color mode for a polyline is true / random
|
boolean |
isPolyRandomColorMode()
Checks whether the color mode for a polygon is true / random
|
boolean |
isStyleSet(java.lang.String style)
Checks if a given style (for a marker, linestring or polygon) has been set
|
void |
setFill(boolean fill)
Sets whether the Polygon has a fill
|
java.lang.String |
toString() |
getRotation, setLineStringWidth, setMarkerHotSpot, setMarkerRotation, setPolygonFillColor, setPolygonStrokeWidth
public boolean isStyleSet(java.lang.String style)
style
- style to check if setpublic boolean hasFill()
public void setFill(boolean fill)
fill
- True if the polygon fill is set, false otherwisepublic double getIconScale()
public boolean hasOutline()
public boolean hasBalloonStyle()
public java.lang.String getIconUrl()
public boolean isLineRandomColorMode()
public boolean isPolyRandomColorMode()
public java.util.HashMap<java.lang.String,java.lang.String> getBalloonOptions()
public MarkerOptions getMarkerOptions()
public PolylineOptions getPolylineOptions()
public PolygonOptions getPolygonOptions()
public static int computeRandomColor(int color)
color
- Color represented as an integerpublic java.lang.String toString()
toString
in class java.lang.Object