\Google\Photos\Library\V1Location

Represents a physical location.

Generated from protobuf message google.photos.library.v1.Location

Summary

Methods
Properties
Constants
__construct()
getLocationName()
setLocationName()
getLatlng()
setLatlng()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$location_name
$latlng
N/A

Properties

$location_name

$location_name : 

Name of the location to be displayed.

Generated from protobuf field string location_name = 1;

Type

$latlng

$latlng : 

Position of the location on the map.

Generated from protobuf field .google.type.LatLng latlng = 2;

Type

Methods

__construct()

__construct(array  $data = NULL) 

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type string $location_name
      Name of the location to be displayed.
@type \Google\Type\LatLng $latlng
      Position of the location on the map.

}

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

getLocationName()

getLocationName() : string

Name of the location to be displayed.

Generated from protobuf field string location_name = 1;

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

string

setLocationName()

setLocationName(string  $var) : $this

Name of the location to be displayed.

Generated from protobuf field string location_name = 1;

Parameters

string $var
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

$this

getLatlng()

getLatlng() : \Google\Type\LatLng

Position of the location on the map.

Generated from protobuf field .google.type.LatLng latlng = 2;

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

\Google\Type\LatLng

setLatlng()

setLatlng(\Google\Type\LatLng  $var) : $this

Position of the location on the map.

Generated from protobuf field .google.type.LatLng latlng = 2;

Parameters

\Google\Type\LatLng $var
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

$this