Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Latest commit

 

History

History
88 lines (36 loc) · 1008 Bytes

File metadata and controls

88 lines (36 loc) · 1008 Bytes

Dialogflow\Action\Types\LatLng

Methods

Name Description
__construct
getLatitude The latitude in degrees. It must be in the range [-90.0, +90.0].
getLongitude The longitude in degrees. It must be in the range [-180.0, +180.0].

LatLng::__construct

Description

public __construct (array $data)

Parameters

  • (array) $data : request array

Return Values

LatLng::getLatitude

Description

public getLatitude (void)

The latitude in degrees. It must be in the range [-90.0, +90.0].

Parameters

This function has no parameters.

Return Values

null|\number

LatLng::getLongitude

Description

public getLongitude (void)

The longitude in degrees. It must be in the range [-180.0, +180.0].

Parameters

This function has no parameters.

Return Values

null|\number