class Coordinate implements JsonSerializable (View source)

Methods

mixed
jsonSerialize()

Specify data which should be serialized to JSON

__construct(float $longitude, float $latitude)

No description

Details

mixed jsonSerialize()

Specify data which should be serialized to JSON

Return Value

mixed

data which can be serialized by json_encode, which is a value of any type other than a resource.

__construct(float $longitude, float $latitude)

No description

Parameters

float $longitude
float $latitude

See also

GeoPolygonQuery