RouteSection
Create a new instance of the route section.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
The type for the section.
The geometry for the section.
The geometry must not be empty and all points must be reflected in the Route.geometry.
The route offset to the first point of the section.
The route offset must correspond to the correct offset in the RouteOptions.routeOffset. If the route offset is Distance.ZERO then the first occurrence of the section geometry in the RouteOptions.geometry will be drawn as a given section.
Create a new instance of the route section.
Note: Please, use secondary constructor instead of primary. Using RouteSection.start and RouteSection.end can cause a problem when RouteSection.start and RouteSection.end are point to the same GeoPoint.