/** * Returns a list of all config variables that should be passed to the JS. * * @since 1.0.1 * * @return array */ public final function getConfigVariables() { return parent::getConfigVariables() + array('egGoogleJsApiKey' => $GLOBALS['egGoogleJsApiKey']); }
/** * @see MapsMappingService::getResourceModules * * @since 0.7.3 * * @return array of string */ public function getResourceModules() { return array_merge(parent::getResourceModules(), array('ext.maps.openlayers')); }
/** * @see MapsMappingService::getResourceModules * * @since 3.0 * * @return array of string */ public function getResourceModules() { return array_merge(parent::getResourceModules(), array('ext.maps.leaflet')); }
/** * Returns a list of all config variables that should be passed to the JS. * * @since 1.0.1 * * @return array */ public function getConfigVariables() { return array_merge(parent::getConfigVariables(), array('egMapsScriptPath' => $GLOBALS['wgScriptPath'] . '/extensions/Maps/')); }
/** * Constructor. * * @since 0.6.6 */ function __construct($serviceName) { parent::__construct($serviceName, array('openstreetmap')); }
/** * @see MapsMappingService::getResourceModules * * @since 1.0 * * @return array of string */ public function getResourceModules() { return array_merge(parent::getResourceModules(), array('ext.maps.googlemaps3')); }
/** * Returns a list of all config variables that should be passed to the JS. * * @since 1.0.1 * * @return array */ public function getConfigVariables() { return array_merge(parent::getConfigVariables(), array('egMapsScriptPath' => $GLOBALS['egMapsScriptPath'])); }