Home > @magiclane/maps-sdk > RouteTerrainProfile > roadTypeSections
RouteTerrainProfile.roadTypeSections property
Get list of route type sections.
Each section has the start distance from route start and the road type (see RoadType).
The end of the section is the distance from start of the next section or route total length (for the last section)
Signature:
get roadTypeSections(): RoadTypeSection[];