InfoWindowOptions

API equivalent to google.maps.InfoWindowOptions.

see
author

Arno Dudek

Methods

Constructor

__construct(array $options = array()) 

Arguments

$options

array

Set content

setContent(string $content) : \AdGrafik\GoogleMapsPHP\API\Overlays\InfoWindowOptions

Arguments

$content

string

Response

\AdGrafik\GoogleMapsPHP\API\Overlays\InfoWindowOptions

Get content

getContent() : string

Response

string

Set disableAutoPan

setDisableAutoPan(boolean $disableAutoPan) : \AdGrafik\GoogleMapsPHP\API\Overlays\InfoWindowOptions

Arguments

$disableAutoPan

boolean

Response

\AdGrafik\GoogleMapsPHP\API\Overlays\InfoWindowOptions

Get disableAutoPan

isDisableAutoPan() : boolean

Response

boolean

Set maxWidth

setMaxWidth(integer $maxWidth) : \AdGrafik\GoogleMapsPHP\API\Overlays\InfoWindowOptions

Arguments

$maxWidth

integer

Response

\AdGrafik\GoogleMapsPHP\API\Overlays\InfoWindowOptions

Get maxWidth

getMaxWidth() : integer

Response

integer

Set pixelOffset

setPixelOffset(array|\AdGrafik\GoogleMapsPHP\API\Base\Size $pixelOffset) : \AdGrafik\GoogleMapsPHP\API\Overlays\InfoWindowOptions

Get pixelOffset

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

Set position

setPosition(string|\AdGrafik\GoogleMapsPHP\API\Base\LatLng $position) : \AdGrafik\GoogleMapsPHP\API\Overlays\InfoWindowOptions

Get position

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

Set zIndex

setZIndex(integer $zIndex) : \AdGrafik\GoogleMapsPHP\API\Overlays\InfoWindowOptions

Arguments

$zIndex

integer

Response

\AdGrafik\GoogleMapsPHP\API\Overlays\InfoWindowOptions

Get zIndex

getZIndex() : integer

Response

integer

Properties

content

content : string
var

Type(s)

string

disableAutoPan

disableAutoPan : boolean
var

Type(s)

boolean

maxWidth

maxWidth : integer
var

Type(s)

integer

pixelOffset

pixelOffset : array|\AdGrafik\GoogleMapsPHP\API\Base\Size

position

position : string|\AdGrafik\GoogleMapsPHP\API\Base\LatLng

zIndex

zIndex : integer
var

Type(s)

integer