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
locality¶
locality: string
longitude¶
longitude: number
municipality¶
municipality: string
pickupTime¶
pickupTime: string
routeDirections¶
routeDirections: string
street¶
street: string
Methods¶
fromJSON¶
Static
fromJSON(loc
): DestinationSiteLocation
Create from JSON
Parameters¶
Name |
Type |
Description |
---|---|---|
|
|
JSON object |