buildTerrainProfile property
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 buildTerrainProfile;