WS_StopLocation.js | |
Properties | |
ID | {String} Gets or sets the stop ID. |
IsViaPoint | {Boolean} Gets or sets whether the stop is a via point or not. |
SideOfStreetAdherence | {Number} How strict to be in order to avoid the destination being on the opposite side of the street. |
Constructor | |
ALKMaps. | Construct a new stop location object. |
Functions | |
fromStopLocation | |
fromStopLocations |
{Number} How strict to be in order to avoid the destination being on the opposite side of the street.
0 | Off. Will not reroute according to the side of the street. |
1 | Minimal. Adds a cost of a quarter of a mile to ending up on the wrong side of the street. |
2 | Moderate. Adds a cost of half a mile to ending up on the wrong side of the street. |
3 | Average. Adds a cost of one mile to ending up on the wrong side of the street. |
4 | Strict. Adds a cost of five miles to ending up on the wrong side of the street. |
5 | Adhere. Adds a cost of 10 miles to ending up on the wrong side of the street. |
6 | StronglyAdhere. Adds a cost of 1,000 miles to ending up on the wrong side of the street. |
ALKMaps.WS_StopLocation.fromStopLocation = function ( stopLoc, options )
stopLoc | {ALKMaps.StopLocation} |
{ALKMaps.WS_StopLocation} New stop location object built from the passed-in object.
ALKMaps.WS_StopLocation.fromStopLocations = function ( stopLocations, options )
stopLocations | {Array(ALKMaps.StopLocation)} |
{Array(ALKMaps.WS_Location)} An array of stop locations.
ALKMaps.WS_StopLocation.fromStopLocation = function ( stopLoc, options )
ALKMaps.WS_StopLocation.fromStopLocations = function ( stopLocations, options )