AnimationPath class
Đường animation chạy: toạ độ + quãng đường cộng dồn (mét) tới từng đỉnh.
Constructors
-
AnimationPath.of(List<
LngLat> coords, {Object? sourceKey}) -
factory
Properties
-
coords
→ List<
LngLat> -
final
-
cum
→ List<
double> -
cum[i]= mét từ đầu tuyến tới đỉnhi.final - hashCode → int
-
The hash code for this object.
no setterinherited
- length → double
-
Độ dài địa lý
L(mét).no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceKey ↔ Object?
-
Khoá nhận diện hình học nguồn (đúng đối tượng
coordinatestrong cấu hình route — cấu hình trong sổ không sửa tại chỗ) để khỏi so sâu mỗi lần.getter/setter pair
Methods
-
at(
double s) → ({double bearing, LngLat lngLat}) -
Điểm tại quãng đường
s(mét, kẹp0, L) + hướng cạnh đang đi. Ở đúng một đỉnh gấp khúc lấy cạnh sau (15.4); ở cuối tuyến lấy cạnh cuối. Cạnh dài 0 (đỉnh lặp) bỏ qua khi lấy hướng. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sameCoords(
List< LngLat> other) → bool -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited