Icon

Extends \AdGrafik\GoogleMapsPHP\API\Overlays\AbstractIcon

API equivalent to google.maps.Icon.

see
author

Arno Dudek

Methods

Constructor

__construct(string|array $options = '') 

Arguments

$options

string|array

Set origin

setOrigin(\AdGrafik\GoogleMapsPHP\API\Base\Point $origin) : \AdGrafik\GoogleMapsPHP\API\Overlays\Icon

Get origin

getOrigin() : \AdGrafik\GoogleMapsPHP\API\Base\Point

Set scaledSize

setScaledSize(\AdGrafik\GoogleMapsPHP\API\Base\Size $scaledSize) : \AdGrafik\GoogleMapsPHP\API\Overlays\Icon

Get scaledSize

getScaledSize() : \AdGrafik\GoogleMapsPHP\API\Base\Size

Set size

setSize(\AdGrafik\GoogleMapsPHP\API\Base\Size $size) : \AdGrafik\GoogleMapsPHP\API\Overlays\Icon

Get size

getSize() : \AdGrafik\GoogleMapsPHP\API\Base\Size

Set url

setUrl(string $url) : \AdGrafik\GoogleMapsPHP\API\Overlays\Icon

Arguments

$url

string

Response

\AdGrafik\GoogleMapsPHP\API\Overlays\Icon

Get url

getUrl() : string

Response

string

__toString

__toString() : string

Response

string

Set anchor

setAnchor(array|\AdGrafik\GoogleMapsPHP\API\Base\Point $anchor) : \AdGrafik\GoogleMapsPHP\API\Overlays\Icon
inherited

Get anchor

getAnchor() : \AdGrafik\GoogleMapsPHP\API\Base\Point
inherited

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

origin

origin : \AdGrafik\GoogleMapsPHP\API\Base\Point

scaledSize

scaledSize : \AdGrafik\GoogleMapsPHP\API\Base\Size

size

size : \AdGrafik\GoogleMapsPHP\API\Base\Size

url

url : string
var

Type(s)

string

anchor

anchor : \AdGrafik\GoogleMapsPHP\API\Base\Point
inherited

_arrayAccessProperties

_arrayAccessProperties : array
inherited
var

Type(s)

array

_arrayAccessPosition

_arrayAccessPosition : integer
inherited
var

Type(s)

integer