MapDirectionStep

constructor(htmlDirections: String, segment: WaypathSegment)

Create a new MapDirection with a default direction indicator of MapDirectionsIcon.STRAIGHT

Parameters

htmlDirections

the text that descripts this segment of the path

segment

the WaypathSegment that this step represents


constructor(htmlDirections: String, segment: WaypathSegment, directionIndicator: MapDirectionsIcon)

Create a new MapDirection with the specified direction indicator

Parameters

htmlDirections

the text that descripts this segment of the path

segment

the WaypathSegment that this step represents

directionIndicator

the direction indicated by this step