ALKMaps.WS_Coordinates

Instance of this class represent coordinates of PCMiler web service.

Possible use case

wsCoordinates = new ALKMaps.WS_Coordinates({
    Lon: -90, // or lon: -90
    Lat: 42, // or lat: 42
});
Summary
ALKMaps.WS_CoordinatesInstance of this class represent coordinates of PCMiler web service.
Properties
Lat{String} Gets or sets the latitude in decimal degrees or decimal degrees * 1E6 as a string.
Lon{String} Gets or sets the longitude in decimal degrees or decimal degrees * 1E6 as a string.
Constructor
ALKMaps.WS_CoordinatesConstruct a new coordinates object.
Functions
fromLonLat

Properties

Lat

{String} Gets or sets the latitude in decimal degrees or decimal degrees * 1E6 as a string.

Lon

{String} Gets or sets the longitude in decimal degrees or decimal degrees * 1E6 as a string.

Constructor

ALKMaps.WS_Coordinates

Construct a new coordinates object.

Parameters (single argument)

params{Object} {Lon: -90, Lat: 42} or {lon: -90, lat: 42}

Functions

fromLonLat

ALKMaps.WS_Coordinates.fromLonLat = function (ll,
options)

Parameters

ll{ALKMaps.LonLat} ALKMaps.LonLat or an object with a ‘lon’ and ‘lat’ properties.
options{Object} Optional parameters

Returns

{ALKMaps.WS_Coordinates}

ALKMaps.WS_Coordinates.fromLonLat = function (ll,
options)
This class represents a longitude and latitude pair
Construct a new coordinates object.
Close