/**
  * 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'));
 }
Beispiel #3
0
 /**
  * @see MapsMappingService::getResourceModules
  *
  * @since 3.0
  *
  * @return array of string
  */
 public function getResourceModules()
 {
     return array_merge(parent::getResourceModules(), array('ext.maps.leaflet'));
 }
Beispiel #4
0
 /**
  * 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/'));
 }
Beispiel #5
0
 /**
  * Constructor.
  * 
  * @since 0.6.6
  */
 function __construct($serviceName)
 {
     parent::__construct($serviceName, array('openstreetmap'));
 }
Beispiel #6
0
 /**
  * @see MapsMappingService::getResourceModules
  * 
  * @since 1.0
  * 
  * @return array of string
  */
 public function getResourceModules()
 {
     return array_merge(parent::getResourceModules(), array('ext.maps.googlemaps3'));
 }
Beispiel #7
0
 /**
  * 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']));
 }