MapBuilderInterface.
Methods
Constructor
MapBuilder( [$mapId] [, $options] );
__construct(mixed $mapId = '', mixed $options = array())
Arguments
$options
mixed
Can be an object of type \AdGrafik\GoogleMapsPHP\API\Map\MapOptions or an map options array.
Set settings
setSettings(\AdGrafik\GoogleMapsPHP\Configuration\Settings $settings) : \AdGrafik\GoogleMapsPHP\MapBuilder\MapBuilderInterface
Get settings
getSettings() : \AdGrafik\GoogleMapsPHP\Configuration\Settings
Set view
setView(\AdGrafik\GoogleMapsPHP\View\Document $view) : \AdGrafik\GoogleMapsPHP\MapBuilder\MapBuilderInterface
Get view
getView() : \AdGrafik\GoogleMapsPHP\View\ViewInterface
Set mapId
setMapId(string $mapId) : \AdGrafik\GoogleMapsPHP\MapBuilder\MapBuilderInterface
Get mapId
getMapId() : string
Set mapOptions
setMapOptions(array $mapOptions) : \AdGrafik\GoogleMapsPHP\MapBuilder\MapBuilderInterface
Get mapOptions
getMapOptions() : array
Set jsonObject
setJsonObject(\AdGrafik\GoogleMapsPHP\MapBuilder\JsonObject $jsonObject) : \AdGrafik\GoogleMapsPHP\PlugInProvider
Get jsonObject
getJsonObject() : \AdGrafik\GoogleMapsPHP\MapBuilder\JsonObject
Add a plug-in.
add(string|array|\AdGrafik\GoogleMapsPHP\PlugIns\PlugInInterface $plugInBuilderName) : \AdGrafik\GoogleMapsPHP\MapBuilder\MapBuilderInterface
Set debug
setDebug(boolean $debug) : \AdGrafik\GoogleMapsPHP\MapBuilder\MapBuilderInterface
Get debug
isDebug() : boolean
printJavaScriptJsonObject
printJavaScriptJsonObject() : string
registerMapId
registerMapId(string $mapId) : void
Properties
mapIdCount
mapIdCount : integer
static
registeredMapIds
registeredMapIds : array
static
settings
settings : \AdGrafik\GoogleMapsPHP\Configuration\Settings
view
view : \AdGrafik\GoogleMapsPHP\View\ViewInterface
mapOptions
mapOptions : array
jsonObject
jsonObject : \AdGrafik\GoogleMapsPHP\MapBuilder\JsonObject