| Server IP : 34.87.99.72 / Your IP : 216.73.217.31 Web Server : Apache/2.4.46 (Unix) OpenSSL/1.1.1n System : Linux zlock-bitnami-lamp-prod-v2-vm 4.19.0-16-cloud-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 User : bitnami ( 1000) PHP Version : 7.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apache/htdocs/app/vendor/google/common-protos/src/Type/ |
Upload File : |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/type/latlng.proto
namespace Google\Type;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* An object that represents a latitude/longitude pair. This is expressed as a
* pair of doubles to represent degrees latitude and degrees longitude. Unless
* specified otherwise, this must conform to the
* <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
* standard</a>. Values must be within normalized ranges.
*
* Generated from protobuf message <code>google.type.LatLng</code>
*/
class LatLng extends \Google\Protobuf\Internal\Message
{
/**
* The latitude in degrees. It must be in the range [-90.0, +90.0].
*
* Generated from protobuf field <code>double latitude = 1;</code>
*/
protected $latitude = 0.0;
/**
* The longitude in degrees. It must be in the range [-180.0, +180.0].
*
* Generated from protobuf field <code>double longitude = 2;</code>
*/
protected $longitude = 0.0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type float $latitude
* The latitude in degrees. It must be in the range [-90.0, +90.0].
* @type float $longitude
* The longitude in degrees. It must be in the range [-180.0, +180.0].
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Google\Type\Latlng::initOnce();
parent::__construct($data);
}
/**
* The latitude in degrees. It must be in the range [-90.0, +90.0].
*
* Generated from protobuf field <code>double latitude = 1;</code>
* @return float
*/
public function getLatitude()
{
return $this->latitude;
}
/**
* The latitude in degrees. It must be in the range [-90.0, +90.0].
*
* Generated from protobuf field <code>double latitude = 1;</code>
* @param float $var
* @return $this
*/
public function setLatitude($var)
{
GPBUtil::checkDouble($var);
$this->latitude = $var;
return $this;
}
/**
* The longitude in degrees. It must be in the range [-180.0, +180.0].
*
* Generated from protobuf field <code>double longitude = 2;</code>
* @return float
*/
public function getLongitude()
{
return $this->longitude;
}
/**
* The longitude in degrees. It must be in the range [-180.0, +180.0].
*
* Generated from protobuf field <code>double longitude = 2;</code>
* @param float $var
* @return $this
*/
public function setLongitude($var)
{
GPBUtil::checkDouble($var);
$this->longitude = $var;
return $this;
}
}