Home > @magiclane/maps-sdk > RouteTerrainProfile > surfaceSections

RouteTerrainProfile.surfaceSections property

Get list of route surface sections.

Each section has the start distance from route start and the surface type (see SurfaceType).

The end of the section is the distance from start of the next section or route total length (for the last section)

Signature:

get surfaceSections(): SurfaceSection[];