Documentation

LatLonRange
in package

Data structure to handle Latitude,Longitude bounding box

Table of Contents

Properties

$max  : LatLon
$min  : LatLon
$validLatitude  : mixed
$validLongitude  : mixed

Methods

__construct()  : mixed
__destruct()  : mixed
__toString()  : string
Returns bounding box coordinates
max()  : LatLon
Get max bouding box coordinates
min()  : LatLon
Get min bouding box coordinates

Properties

$validLatitude

private mixed $validLatitude = array('min' => -180, 'max' => 180)

$validLongitude

private mixed $validLongitude = array('min' => -180, 'max' => 180)

Methods

__toString()

Returns bounding box coordinates

public __toString() : string
Return values
string

Bounding box in [%.5f,%.5f],[%.5f,%.5f] [min lat,lon],[max lat,lon] format

max()

Get max bouding box coordinates

public max() : LatLon
Return values
LatLon

Max bouding box coordinates

min()

Get min bouding box coordinates

public min() : LatLon
Return values
LatLon

Min bouding box coordinates


        
On this page

Search results