Cloud Datastore Client - Class GeoPoint (1.26.0)

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