ScriptLoaderMapFactory
Table of Contents
-
TYPE_MAPPING
= [\onOffice\WPlugin\Types\MapProvider::GOOGLE_MAPS => \onOffice\WPlugin\ScriptLoader\ScriptLoaderMapGoogleMaps::class, \onOffice\WPlugin\Types\MapProvider::OPEN_STREET_MAPS => \onOffice\WPlugin\ScriptLoader\ScriptLoaderMapOsm::class]
-
$_pContainer
: Container
-
__construct()
: mixed
-
buildForMapProvider()
: ScriptLoader
TYPE_MAPPING
public
mixed
TYPE_MAPPING
= [\onOffice\WPlugin\Types\MapProvider::GOOGLE_MAPS => \onOffice\WPlugin\ScriptLoader\ScriptLoaderMapGoogleMaps::class, \onOffice\WPlugin\Types\MapProvider::OPEN_STREET_MAPS => \onOffice\WPlugin\ScriptLoader\ScriptLoaderMapOsm::class]
$_pContainer
private
Container
$_pContainer
= null
__construct()
public
__construct(Container $pContainer) : mixed
Parameters
-
$pContainer
: Container
-
Return values
mixed
—
public
buildForMapProvider(MapProvider $pMapProvider) : ScriptLoader
Parameters
-
$pMapProvider
: MapProvider
-
Return values
ScriptLoader
—