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


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

loc

any

JSON object

Returns

DestinationSiteLocation