LocationModel
Model representing a location object. Location must have, at a minimum, one of the following:
- latitude and longitude OR
- country, state, ZIP code, city, and street
Constructor Summary
Public Constructor | ||
public |
constructor(location: Object) |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
latitude: Float |
|
public |
longitude: Float |
|
public |
|
|
public |
|
|
public |
|
Public Constructors
public constructor(location: Object) source
Params:
Name | Type | Attribute | Description |
location | Object | JSON formatted response of a location |
|
location.latitude | Float | Latitude |
|
location.longitude | Float | longitude |
|
location.country | String | Country |
|
location.state | String | State |
|
location.title | String | Title |
|
location.zip_code | String | Number | Zipcode |
|
location.address_line_1 | String | Address Line 1 |
|
location.address_line_2 | String | Address Line 2 |
|
location.address_line_3 | String | Address Line 3 |
|
location.city | String | City |