Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Google
Cloud
Datastore
DatastoreClient
geoPoint
Google\Cloud\Datastore\DatastoreClient::geoPoint PHP Method
DatastoreClient Class Documentation
Datei anzeigen
Open project: GoogleCloudPlatform/gcloud-php
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); }
DatastoreClient
__construct
allocateId
allocateIds
blob
delete
deleteBatch
entity
geoPoint
gqlQuery
insert
insertBatch
int64
key
keys
lookup
lookupBatch
parseSingleMutationResult
query
runQuery
transaction
update
updateBatch
upsert
upsertBatch