Class Polyline
-
-
Field Summary
Fields Modifier and Type Field Description private final MapObject.Typetypeprivate List<LatLng>pointsprivate Floatwidthprivate Integercolorprivate BooleanisClickableprivate BooleanisGeodesicprivate BooleanisVisibleprivate FloatzIndexprivate CapstartCapprivate CapendCapprivate IntegerjointTypeprivate List<PatternItem>pattern
-
Method Summary
Modifier and Type Method Description MapObject.TypegetType()Gets the type of the map object. final List<LatLng>getPoints()final UnitsetPoints(List<LatLng> points)final FloatgetWidth()final UnitsetWidth(Float width)final IntegergetColor()final UnitsetColor(Integer color)final BooleanisClickable()final UnitsetClickable(Boolean isClickable)final BooleanisGeodesic()final UnitsetGeodesic(Boolean isGeodesic)BooleanisVisible()Gets and sets the visibility of the map object. UnitsetVisible(Boolean isVisible)Gets and sets the visibility of the map object. FloatgetZIndex()Gets and sets the z-index of the map object. UnitsetZIndex(Float zIndex)Gets and sets the z-index of the map object. final CapgetStartCap()final UnitsetStartCap(Cap startCap)final CapgetEndCap()final UnitsetEndCap(Cap endCap)final IntegergetJointType()final UnitsetJointType(Integer jointType)final List<PatternItem>getPattern()final UnitsetPattern(List<PatternItem> pattern)-
-
Method Detail
-
getType
MapObject.Type getType()
Gets the type of the map object.
- Returns:
The type of the map object.
-
isClickable
final Boolean isClickable()
-
setClickable
final Unit setClickable(Boolean isClickable)
-
isGeodesic
final Boolean isGeodesic()
-
setGeodesic
final Unit setGeodesic(Boolean isGeodesic)
-
setVisible
Unit setVisible(Boolean isVisible)
Gets and sets the visibility of the map object.
-
getStartCap
final Cap getStartCap()
-
setStartCap
final Unit setStartCap(Cap startCap)
-
getEndCap
final Cap getEndCap()
-
getJointType
final Integer getJointType()
-
setJointType
final Unit setJointType(Integer jointType)
-
getPattern
final List<PatternItem> getPattern()
-
setPattern
final Unit setPattern(List<PatternItem> pattern)
-
-
-
-