Instances of this class represent location.
location = new ALKMaps.Location({
address: new ALKMaps.Address({streetAddress: "", city: "", state: "", zip: "", country: ""}),
lonLat: new ALKMaps.LonLat(-90, 42),
label: "Stop 1"
});| ALKMaps. | Instances of this class represent location. |
| Properties | |
| address | {ALKMaps.Address} Gets or sets the address information for the location. |
| lonLat | {ALKMaps.LonLat} Gets or sets the geographic coordinates for the location. |
| Constructor | |
| ALKMaps. | Construct a new location object. |
| Functions | |
| fromLonLat | Alternative constructor that builds a new ALKMaps.Location from lonLat object |
| fromLonLats | Builds an array of location objects from an array of lonLat object. |
ALKMaps.Location.fromLonLat = function ( lonLat, options )
Alternative constructor that builds a new ALKMaps.Location from lonLat object
| lonLat | {ALKMaps.LonLat} |
{ALKMaps.Location} New location object built from the passed-in object.
Alternative constructor that builds a new ALKMaps.Location from lonLat object
ALKMaps.Location.fromLonLat = function ( lonLat, options )
Builds an array of location objects from an array of lonLat object.
ALKMaps.Location.fromLonLats = function ( lonLats, options )