LatLng

Extends \AdGrafik\GoogleMapsPHP\Object\PropertyArrayAccess

API equivalent to google.maps.LatLng.

see
author

Arno Dudek

Methods

Constructor

__construct(mixed $latitude, float $longitude = NULL, boolean $noWrap = FALSE) 

Arguments

$latitude

mixed

Can be a string of latitude,longitude or a float of latitude.

$longitude

float

$noWrap

boolean

Set latitude and longitude

setLatLng(mixed $latitude, float $longitude = NULL) : \AdGrafik\GoogleMapsPHP\API\Base\LatLng
throws

Arguments

$latitude

mixed

Can be a string of latitude,longitude or a float of latitude.

$longitude

float

Response

\AdGrafik\GoogleMapsPHP\API\Base\LatLng

Set latitude

setLatitude(float $latitude) : \AdGrafik\GoogleMapsPHP\API\Base\LatLng

Arguments

$latitude

float

Response

\AdGrafik\GoogleMapsPHP\API\Base\LatLng

Get latitude

getLatitude() : float

Response

float

Set longitude

setLongitude(float $longitude) : \AdGrafik\GoogleMapsPHP\API\Base\LatLng

Arguments

$longitude

float

Response

\AdGrafik\GoogleMapsPHP\API\Base\LatLng

Get longitude

getLongitude() : float

Response

float

Set noWrap

setNoWrap(boolean $noWrap) : \AdGrafik\GoogleMapsPHP\API\Base\LatLng

Arguments

$noWrap

boolean

Response

\AdGrafik\GoogleMapsPHP\API\Base\LatLng

Get noWrap

isNoWrap() : boolean

Response

boolean

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

latitude

latitude : float
var

Type(s)

float

longitude

longitude : float
var

Type(s)

float

noWrap

noWrap : boolean
var

Type(s)

boolean

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