Class AllManeuverNotesBuilder

This class add all maneuvers notes to a route

Source : file core/AllManeuverNotesBuilder.js at line 44

Constructor

new AllManeuverNotesBuilder ( )

The constructor

Source : file core/AllManeuverNotesBuilder.js at line 118

Public methods

addAllManeuverNotes ( routeObjId )

This method add a note with data from osm for each maneuver of a route A confirmation message is showed before starting.

Source : file core/AllManeuverNotesBuilder.js at line 128

Parameters

Name Type Description
routeObjId Number

The Route objId

Private properties

#maneuversLength : Number

The number of maneuvers

Source : file core/AllManeuverNotesBuilder.js at line 57

#route : Route

The route for witch the maneuvers note are created

Source : file core/AllManeuverNotesBuilder.js at line 50

Private methods

async #addAllManeuverNotes ( )

This method add a note with data from osm for each maneuver of a route.

Source : file core/AllManeuverNotesBuilder.js at line 87

#newNoteFromOsmData ( noteData )

This method creates a new route note with data from osm

Source : file core/AllManeuverNotesBuilder.js at line 64

Parameters

Name Type Description
noteData Object

The data needed for building the note