function __construct() { parent::__construct(); $this->classname = "leaflet"; $this->resourceModules[] = 'ext.MultiMaps.Leaflet'; $leafletPath = $GLOBALS['egMultiMapsScriptPath'] . '/services/Leaflet/leaflet'; $this->headerItem .= \Html::linkedStyle("{$leafletPath}/leaflet.css") . '<!--[if lte IE 8]>' . \Html::linkedStyle("{$leafletPath}/leaflet.ie.css") . '<![endif]-->' . \Html::linkedScript("{$leafletPath}/leaflet.js"); }
function __construct() { parent::__construct(); $this->classname = "google"; $this->resourceModules[] = 'ext.MultiMaps.Google'; $urlArgs = array(); $urlArgs['sensor'] = 'false'; $urlArgs['v'] = '3.10'; $this->headerItem .= \Html::linkedScript('//maps.googleapis.com/maps/api/js?' . wfArrayToCgi($urlArgs)) . "\n"; }
function __construct() { parent::__construct(); $this->classname = "yandex"; $this->resourceModules[] = 'ext.MultiMaps.Yandex'; $urlArgs = array(); $urlArgs['load'] = 'package.standard,package.geoObjects'; $urlArgs['lang'] = 'ru-RU'; $this->headerItem .= \Html::linkedScript('//api-maps.yandex.ru/2.0-stable/?' . wfArrayToCgi($urlArgs)) . "\n"; }