EMAPI.Router.RouteRepresentationSection

The class of parameters and representation section (section) route between two points of the route.

Summary
EMAPI.Router.RouteRepresentationSectionThe 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.Router.RouteRepresentationSectionThe constructor of a new instance of EMAPI.Router.RouteRepresentationSection class.
destroyDestroys an object of EMAPI.Router.RouteRepresentationSection class.

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.Router.RouteRepresentationSection

The constructor of a new instance of EMAPI.Router.RouteRepresentationSection class.

Parameters

options{Object} An object with additional parameters of class instance.

destroy

destroy: function()

Destroys an object of EMAPI.Router.RouteRepresentationSection class.

Assistant class for managing the JavaScript objects array.
The class of characteristic point of route segment (entry in the report of the route).
A class representing the geographic coordinates in the form of latitude and longitude.
destroy: function()
Destroys an object of EMAPI.Router.RouteRepresentationSection class.
Close