Cloud Vision V1 Client - Class LocationInfo (1.6.8)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ lat_lng Google\Type\LatLng

lat/long location coordinates.

getLatLng

lat/long location coordinates.

Returns
TypeDescription
Google\Type\LatLng|null

hasLatLng

clearLatLng

setLatLng

lat/long location coordinates.

Parameter
NameDescription
var Google\Type\LatLng
Returns
TypeDescription
$this