Class: DestinationSiteLocation¶
domain/DestinationSiteLocation.DestinationSiteLocation
Constructors¶
constructor¶
new DestinationSiteLocation(latitude
, longitude
, street
, locality
, municipality
, routeDirections
, pickupTime
)
Location of a destination site
Parameters¶
Name |
Type |
Description |
---|---|---|
|
|
Latitude in decimal degrees |
|
|
Longitude in decimal degrees |
|
|
The street name if available |
|
|
The locality name if available |
|
|
The municipality name if available |
|
|
The route directions text if available |
|
|
The pickup time text if available |
Properties¶
latitude¶
latitude: number
Latitude in decimal degrees
locality¶
locality: string
The locality name if available
longitude¶
longitude: number
Longitude in decimal degrees
municipality¶
municipality: string
The municipality name if available
pickupTime¶
pickupTime: string
The pickup time text if available
routeDirections¶
routeDirections: string
The route directions text if available
street¶
street: string
The street name if available
Methods¶
fromJSON¶
Static
fromJSON(loc
): DestinationSiteLocation
Create from JSON
Parameters¶
Name |
Type |
Description |
---|---|---|
|
|
JSON object |