This class creates HTMLElements for notes
The constructor
Gives an HTMLElement with the note icon and sames values than the this.getNoteTextHTML method
Name | Type | Description |
---|---|---|
classPrefix | String | A string that will be added to all the className of the created HTMLElement |
noteAndRoute | NoteAndRoute | A NoteAndRoute object with the note and the route to witch the note is attached |
Gives an HTMLElement with the tooltipContent (if any), popupContent (if any) address (if any), phone (if any), url (if any), latitude, longitude, distance since the start of the travel (if the note is attached to a chained node), distance since the start of the route (if the note is a route note) and distance till the next note(if the note is a route note)
Name | Type | Description |
---|---|---|
classPrefix | String | A string that will be added to all the className of the created HTMLElements |
noteAndRoute | NoteAndRoute | A NoteAndRoute object with the note and the route to witch the note is attached |
Gives an HTMLElement with all the travel notes
Name | Type | Description |
---|---|---|
classPrefix | String | A string that will be added to all the className of the created HTMLElements |
The max length for displayed links
// The minimal distance between note to display the 'Next note after' value