-
- All Implemented Interfaces:
-
com.google.maps.android.data.geojson.GeoJsonStyle
public class GeoJsonLineStringStyle extends Style implements GeoJsonStyle
A class that allows for GeoJsonLineString objects to be styled and for these styles to be translated into a PolylineOptions object. {@see * * PolylineOptions docs for more details about the options.}
-
-
Constructor Summary
Constructors Constructor Description GeoJsonLineStringStyle()Creates a new LineStringStyle object
-
Method Summary
Modifier and Type Method Description Array<String>getGeometryType()Gets the type of geometries this style can be applied to intgetColor()voidsetColor(int color)booleanisClickable()voidsetClickable(boolean clickable)booleanisGeodesic()voidsetGeodesic(boolean geodesic)floatgetWidth()voidsetWidth(float width)floatgetZIndex()voidsetZIndex(float zIndex)booleanisVisible()voidsetVisible(boolean visible)PolylineOptionstoPolylineOptions()StringtoString()List<PatternItem>getPattern()voidsetPattern(List<PatternItem> pattern)voidsetStartCap(@NonNull() Cap cap)voidsetEndCap(@NonNull() Cap cap)CapgetStartCap()CapgetEndCap()-
Methods inherited from class com.google.maps.android.data.Style
getRotation, setLineStringWidth, setMarkerHotSpot, setMarkerRotation, setPolygonFillColor, setPolygonStrokeWidth -
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getGeometryType
Array<String> getGeometryType()
Gets the type of geometries this style can be applied to
-
getColor
int getColor()
-
setColor
void setColor(int color)
-
isClickable
boolean isClickable()
-
setClickable
void setClickable(boolean clickable)
-
isGeodesic
boolean isGeodesic()
-
setGeodesic
void setGeodesic(boolean geodesic)
-
getWidth
float getWidth()
-
setWidth
void setWidth(float width)
-
getZIndex
float getZIndex()
-
setZIndex
void setZIndex(float zIndex)
-
isVisible
boolean isVisible()
-
setVisible
void setVisible(boolean visible)
-
toPolylineOptions
PolylineOptions toPolylineOptions()
-
getPattern
List<PatternItem> getPattern()
-
setPattern
void setPattern(List<PatternItem> pattern)
-
setStartCap
void setStartCap(@NonNull() Cap cap)
-
getStartCap
Cap getStartCap()
-
getEndCap
Cap getEndCap()
-
-
-
-