Cloud Vision V1 Client - Class LocationInfo (1.10.1)

Reference documentation and code samples for the Cloud Vision V1 Client class LocationInfo.

Detected entity location information.

Generated from protobuf message google.cloud.vision.v1.LocationInfo

Namespace

Google \ Cloud \ Vision \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ lat_lng Google\Type\LatLng

lat/long location coordinates.

getLatLng

lat/long location coordinates.

Returns
Type Description
Google\Type\LatLng|null

hasLatLng

clearLatLng

setLatLng

lat/long location coordinates.

Parameter
Name Description
var Google\Type\LatLng
Returns
Type Description
$this