Home > @magiclane/maps-sdk > BuildTerrainProfile
BuildTerrainProfile class
Preferences regarding building terrain profile.
These preferences influence whether terrain profile data is calculated. Terrain profile data includes elevation changes along the route, which can be useful for activities like biking or hiking.
These settings are required for the to be populated in the route response.
Routing
Signature:
export declare class BuildTerrainProfile Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Creates preferences for terrain profile building. |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
boolean |
Enable/disable terrain profile build. The terrain profile will be built only if this is set to true. Default is | |
|
|
number |
The minimum elevation variation to be registered for total up/total down statistics. A value < 0 lets the SDK choose a proper value. Default is |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Check equality with another BuildTerrainProfile | ||
|
Get hash code for use in maps/sets |