SteepSection class Routes & Navigation

Steep section indicating an abrupt elevation change category.

Each section references the index in the user-provided steep category thresholds passed to RouteTerrainProfile.getSteepSections. Sections are ordered from route start to end.

The end of a section is the start of the next section or the route end.

Also see:

Constructors

SteepSection({required int startDistanceM, required int categ})
Creates a steep section.
SteepSection.fromJson(Map<String, dynamic> json)
Deserializes a JSON-compatible map to create an instance.
factory

Properties

categ int
Index into the user-provided steep categories list (see RouteTerrainProfile.getSteepSections).
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startDistanceM int
Distance in meters where the section starts.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this instance to a JSON-compatible map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(covariant SteepSection other) bool
The equality operator.
override