Cloud Datastore Client - Class GeoPoint (1.22.1)

Reference documentation and code samples for the Cloud Datastore Client class GeoPoint.

Represents a geographical point.

Example:

use Google\Cloud\Datastore\DatastoreClient;

$datastore = new DatastoreClient();

$point = $datastore->geoPoint(37.423147, -122.085015);

Namespace

Google \ Cloud \ Datastore