buildTerrainProfile property
BuildTerrainProfile
get
buildTerrainProfile
Controls whether terrain profile data is generated for the route.
When BuildTerrainProfile.enable is true, the computed route includes elevation and terrain profile information accessible via RouteBase.terrainProfile. When false, terrain profile data is not computed and RouteBase.terrainProfile will be null.
Default is an object with BuildTerrainProfile.enable set to false.
Implementation
BuildTerrainProfile get buildTerrainProfile {
final OperationResult resultString = objectMethod(
pointerId,
'RoutePrefWrapper',
'getBuildTerrainProfile',
);
return BuildTerrainProfile.fromJson(resultString['result']);
}
set
buildTerrainProfile
(BuildTerrainProfile value)
Controls whether terrain profile data is generated for the route.
When BuildTerrainProfile.enable is true, the computed route includes elevation and terrain profile information accessible via RouteBase.terrainProfile. When false, terrain profile data is not computed and RouteBase.terrainProfile will be null.
Parameters
value: The terrain profile build configuration.
Default is an object with BuildTerrainProfile.enable set to false.
Implementation
set buildTerrainProfile(final BuildTerrainProfile value) {
objectMethod(
pointerId,
'RoutePrefWrapper',
'buildterrainprofile',
args: value.toJson(),
);
}