This class provides methods to build a Route profile
The height of the profile
The margin around the profile
The width of the profile
The horizontal distance between the texts and the vertical line of the flag
The vertical distance between texts of the flag
This method creates the svg with the Route profile. This svg is displayed in the profile window and in the roadbook
Name | Type | Description |
---|---|---|
route | Route | The route for witch the svg must be created |
The delta between the max and the min elevation
A reference to the route for witch the profile is createDistanceTexts
The created svg with the profile
The scale used in the Y direction
The scale used in the Y direction
The bottom position of the profile inside the svg
The bottom position of the texts inside the svg
The left position of the profile inside the svg
The left position of the texts inside the svg
The maximum number of legends in the X direction
The maximum number of legends in the Y direction
The right position of the profile inside the svg
The right position of the texts inside the svg
The top position of the profile inside the svg
The possible X scales for the elevation
The possible Y scales for the elevation
This method creates the distance texts in the svg element
This method creates the elevation texts in the svg element
This method creates the frame polyline in the svg element
This method creates the profile polyline in the svg element
This method creates the svg element