A float window containing a route profile
The constructor
An array with the HTMLElements that have to be added in the content of the dialog. Overload of the base class contentHTMLElements
The title of the DialogControl. Overload of the base class get title
Create all the controls needed for the dialog. Overload of the base class createContentHTML
Overload of the BaseDialog.onCancel ( ) method.
Set the content of the dialog : heading, svg profile and ascent text
Name | Type | Description |
---|---|---|
route | Route | The route for witch the profile will be displayed |
This method update the profile name. Also called when the user changes the route name with the RoutePropertiesDialog or when a waypoint is updated with the geocoder
Name | Type | Description |
---|---|---|
route | Route | The route for witch the profile is displayed |
A div under the svg profile with ascent, descent and distance
An objId for the position marker
A div under the svg profile with the route name
The displayed route objId
Contextmenu event listener
Mouseleave event listener
Mousemove event listener
Remove all the content of the dialog and remove event listeners