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

number

Latitude in decimal degrees

longitude

number

Longitude in decimal degrees

street

string

The street name if available

locality

string

The locality name if available

municipality

string

The municipality name if available

routeDirections

string

The route directions text if available

pickupTime

string

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

loc

any

JSON object

Returns

DestinationSiteLocation