Class AWLocation
Object
|
+--AWLocation
- class
AWLocation
AWLocation is a class that encapsulates marker location information.
A location can be an address, a landline phone number, an IP address, or a latitude/longitude coordinate.
Intersections are supported. AWLocation can be instantiated in the following ways:
var myAddress = new AWLocation( "esri", "380 New York St, Redlands, CA", "styleId", {id:"esri",label:"ESRI"});
var myPhone = new AWLocation( "esri", "909 793 2853", "phoneStyleId");
var myIP = new AWLocation( "esri", "www.esri.com");
Defined in awxapi-1.0.js.
|
Field Summary |
Object |
data
User defined data object (optional). |
String |
id
The location identifier. |
String |
location
Location can be an address, a landline phone number, an IP or domain address, or a latitude/longitude coordinate. Intersections are supported. |
String |
markerStyleId
The marker style identifier (optional). |
|
Constructor Summary |
AWLocation
( <String> id, <String> location, <String> markerStyleId, <Object> data )
|
data
Object data
User defined data object (optional).
id
String id
location
String location
Location can be an address, a landline phone number, an IP address, or a latitude/longitude coordinate. Intersections are supported.
markerStyleId
String markerStyleId
The marker style identifier (optional). If the identifier is null a default internal identifier is used.
AWLocation
AWLocation( <String> id, <String> location, <String> markerStyleId, <Object> data )
Parameters:
id - The location identifier.
location - The address, phone number, IP address, or latitude/longitude coordinate. Intersections are supported.
markerStyleId - The ID of the registered marker style (optional).
data - User defined data associated with this marker (optional).
Returns:
An instance of AWLocation.