The class of parameters and representation section (section) route between two points of the route.
EMAPI. | The class of parameters and representation section (section) route between two points of the route. |
Properties | |
sectionFrom | {String} Location of the starting point of the route. |
sectionTo | {String} Location of the ending point of the route. |
sectionCost | {Float} The total cost of a section of the route travelled. |
sectionDistance | {Float} The total length of the section of route (km). |
sectionTime | {String} The total length of the section of route (km). |
routeItems | {EMAPI.ArrayObjects} List of the characteristic points of section from the route (route report) It’s an array of EMAPI.Router.RouteRepresentationItem managed by an object of EMAPI.ArrayObjects class. |
representationPath | {Array(EMAPI.LonLat)} The points of section from the route (the exact course of route section). |
Functions | |
EMAPI. | The constructor of a new instance of EMAPI.Router.RouteRepresentationSection class. |
destroy | Destroys an object of EMAPI.Router.RouteRepresentationSection class. |
{EMAPI.ArrayObjects} List of the characteristic points of section from the route (route report) It’s an array of EMAPI.Router.RouteRepresentationItem managed by an object of EMAPI.ArrayObjects class.
{Array(EMAPI.LonLat)} The points of section from the route (the exact course of route section).
Destroys an object of EMAPI.Router.RouteRepresentationSection class.
destroy: function()