MultipleRouteOption class
다중 선형(MultipleRoute)을 정의하기 위한 객체입니다. RouteController.addMultipleRoute 함수에서 매개변수로 입력됩니다.
- Mixed-in types
Constructors
-
MultipleRouteOption.new(List<
RouteStyle> ? style, {int zOrder = 10000, String? id}) -
MultipleRouteOption.fromMessageable(dynamic payload, List<
RouteStyle> styles) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
다중 선형(MultipleRoute)의 고유한 ID 입니다.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
segments
→ List<
RouteSegment> -
다중 선형(MultipleRoute)를 구성하는
RouteSegment
을 담은 배열입니다.final -
styles
→ List<
RouteStyle> -
다중 선형(MultipleRoute)를 구성하는
RouteStyle
을 담은 배열입니다.final - zOrder → int
-
다중 선형(MultipleRoute)의 zOrder 입니다.
final
Methods
-
addRouteStyle(
RouteStyle style) → void -
RouteStyle를 MultipleRouteOption에 추가합니다.
추가된 RouteStyle은 MultipleRouteOption.addRouteWithIndex 함수에서
styleIndex
매개변수로 이용할 수 있습니다. -
addRouteWithIndex(
List< LatLng> point, int styleIndex, [CurveType curveType = CurveType.none]) → void -
MultipleRoute에 구현할 선형을 추가합니다.
MultipleRouteOption.styles 배열
styleIndex
에 따라 스타일으로 정의합니다. -
addRouteWithStyle(
List< LatLng> point, RouteStyle style, [CurveType curveType = CurveType.none]) → void -
MultipleRoute에 구현할 선형을 추가합니다.
point
매개변수에는 새롭게 추가할 선형의 지점과,style
매개변수에는 새롭게 구현할 선형의 스타일을 입력받습니다. -
getPoints(
int index) → List< LatLng> ? - MultipleRouteOption에 추가된 선형 순서대로 정의된 지점을 불러옵니다.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMessageable(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited