LatLngBounds

Extends \AdGrafik\GoogleMapsPHP\Object\PropertyArrayAccess

API equivalent to google.maps.LatLngBounds.

see
author

Arno Dudek

Methods

Constructor

__construct(mixed $southWest = NULL, mixed $northEast = NULL) 

Arguments examples ('47.359293,14.231415,49.544816,18.625946') ('47.359293,14.231415') ('47.359293,14.231415', '49.544816,18.625946') (\AdGrafik\GoogleMapsPHP\API\Base\LatLng) (\AdGrafik\GoogleMapsPHP\API\Base\LatLng, \AdGrafik\GoogleMapsPHP\API\Base\LatLng)

Arguments

$southWest

mixed

Can be a string of latitude,longitude, a float of latitude or an instance of \AdGrafik\GoogleMapsPHP\API\Base\LatLng.

$northEast

mixed

Can be a string of latitude,longitude, a float of latitude or an instance of \AdGrafik\GoogleMapsPHP\API\Base\LatLng.

Set northEast

setNorthEast(mixed $northEast) : \AdGrafik\GoogleMapsPHP\API\Base\$northEastBounds

Arguments

$northEast

mixed

Response

\AdGrafik\GoogleMapsPHP\API\Base\$northEastBounds

Get northEast

getNorthEast() : \AdGrafik\GoogleMapsPHP\API\Base\LatLng

Set southWest

setSouthWest(mixed $southWest) : \AdGrafik\GoogleMapsPHP\API\Base\LatLngBounds

Arguments

$southWest

mixed

Response

\AdGrafik\GoogleMapsPHP\API\Base\LatLngBounds

Get southWest

getSouthWest() : \AdGrafik\GoogleMapsPHP\API\Base\LatLng

Computes the center of this LatLngBounds.

getCenter() : \AdGrafik\GoogleMapsPHP\API\Base\LatLng

Returns TRUE if this bounds approximately equals the given bounds.

equals(\AdGrafik\GoogleMapsPHP\API\Base\LatLngBounds $bounds) : \AdGrafik\GoogleMapsPHP\API\Base\LatLngBounds

Extends this bounds to contain the given point.

extend(mixed $latLng) : \AdGrafik\GoogleMapsPHP\API\Base\LatLngBounds

Arguments

$latLng

mixed

Response

\AdGrafik\GoogleMapsPHP\API\Base\LatLngBounds

Returns TRUE if the given lat/lng is in this bounds.

contains(mixed $latLng) : boolean

Arguments

$latLng

mixed

Response

boolean

Returns TRUE if this bounds shares any points with this bounds.

intersects(\AdGrafik\GoogleMapsPHP\API\Base\LatLngBounds $bounds) : boolean

Arguments

Response

boolean

Extends this bounds to contain the union of this and the given bounds.

union(\AdGrafik\GoogleMapsPHP\API\Base\LatLngBounds $bounds) : \AdGrafik\GoogleMapsPHP\API\Base\LatLngBounds

toString

toString() : string

Response

string

toUrlValue

toUrlValue(mixed $precision = 6) : string

Arguments

$precision

mixed

Response

string

printJavaScript

printJavaScript() : string

Response

string

__toString

__toString() : string

Response

string

initializeObject

initializeObject() 
inherited

ArrayAccess

offsetSet(mixed $propertyName, mixed $propertyValue) : void
inherited

Arguments

$propertyName

mixed

$propertyValue

mixed

ArrayAccess

offsetExists(mixed $propertyName) : boolean
inherited

Arguments

$propertyName

mixed

Response

boolean

ArrayAccess

offsetUnset(mixed $propertyName) : void
inherited

Arguments

$propertyName

mixed

ArrayAccess

offsetGet(mixed $propertyName) : mixed
inherited

Arguments

$propertyName

mixed

Response

mixed

Iterator

rewind() : void
inherited

Iterator

current() : mixed
inherited

Response

mixed

Iterator

key() : integer
inherited

Response

integer

Iterator

next() : void
inherited

Iterator

valid() : boolean
inherited

Response

boolean

Countable

count() : integer
inherited

Response

integer

Properties

northEast

northEast : \AdGrafik\GoogleMapsPHP\API\Base\LatLng

southWest

southWest : \AdGrafik\GoogleMapsPHP\API\Base\LatLng

className

className : string
var

Type(s)

string

arguments

arguments : array
var

Type(s)

array

_arrayAccessProperties

_arrayAccessProperties : array
inherited
var

Type(s)

array

_arrayAccessPosition

_arrayAccessPosition : integer
inherited
var

Type(s)

integer