Google\Cloud\Datastore\DatastoreClient::geoPoint PHP Method

geoPoint() public method

Example: $geoPoint = $datastore->geoPoint(37.4220, -122.0841);
See also: https://cloud.google.com/datastore/reference/rest/Shared.Types/LatLng LatLng
public geoPoint ( float $latitude, float $longitude ) : GeoPoint
$latitude float The latitude
$longitude float The longitude
return GeoPoint
    public function geoPoint($latitude, $longitude)
    {
        return new GeoPoint($latitude, $longitude);
    }