Semantic MediaWiki and related extensions
Variables
Maps_Settings.php File Reference

Variables

 $GLOBALS ['egMapsAvailableServices']
 
 $GLOBALS ['egMapsDefaultService'] = 'leaflet'
 
 $GLOBALS ['egMapsDefaultServices'] = []
 
 $GLOBALS ['egMapsDefaultServices']['display_map'] = $GLOBALS['egMapsDefaultService']
 
 $GLOBALS ['egMapsDefaultServices']['qp'] = $GLOBALS['egMapsDefaultService']
 
 $GLOBALS ['egMapsDisableExtension'] = false
 
 $GLOBALS ['egMapsDisableSmwIntegration'] = false
 
 $GLOBALS ['egMapsAvailableGeoServices']
 
 $GLOBALS ['egMapsDefaultGeoService'] = 'geonames'
 
 $GLOBALS ['egMapsUserGeoOverrides'] = true
 
 $GLOBALS ['egMapsAllowCoordsGeocoding'] = true
 
 $GLOBALS ['egMapsEnableGeoCache'] = true
 
 $GLOBALS ['egMapsGeoNamesUser'] = ''
 
 $GLOBALS ['egMapsAvailableCoordNotations']
 
 $GLOBALS ['egMapsCoordinateNotation'] = Maps_COORDS_DMS
 
 $GLOBALS ['smgQPCoodFormat'] = $GLOBALS['egMapsCoordinateNotation']
 
 $GLOBALS ['egMapsCoordinateDirectional'] = true
 
 $GLOBALS ['smgQPCoodDirectional'] = $GLOBALS['egMapsCoordinateDirectional']
 
 $GLOBALS ['egMapsInternatDirectionLabels'] = true
 
 $GLOBALS ['egMapsDistanceUnits']
 
 $GLOBALS ['egMapsDistanceUnit'] = 'm'
 
 $GLOBALS ['egMapsDistanceDecimals'] = 2
 
 $GLOBALS ['egMapsMapWidth'] = 'auto'
 
 $GLOBALS ['egMapsMapHeight'] = 350
 
 $GLOBALS ['egMapsSizeRestrictions']
 
 $GLOBALS ['egMapsDefaultMapCentre'] = '0, 0'
 
 $GLOBALS ['egMapsDefaultTitle'] = ''
 
 $GLOBALS ['egMapsDefaultLabel'] = ''
 
 $GLOBALS ['egMapsResizableByDefault'] = false
 
 $GLOBALS ['egMapsRezoomForKML'] = false
 
 $GLOBALS ['smgQPShowTitle'] = true
 
 $GLOBALS ['smgQPHideNamespace'] = false
 
 $GLOBALS ['smgQPTemplate'] = false
 
 $GLOBALS ['egMapsEnableCategory'] = false
 
 $GLOBALS ['egMapsDebugJS'] = false
 
 $GLOBALS ['egMapsNamespaceIndex'] = 420
 
 $GLOBALS ['egMapsGMaps3ApiKey'] = ''
 
 $GLOBALS ['egMapsGMaps3ApiVersion'] = ''
 
 $GLOBALS ['egMapsGMaps3Zoom'] = 14
 
 $GLOBALS ['egMapsGMaps3Types']
 
 $GLOBALS ['egMapsGMaps3Type'] = 'roadmap'
 
 $GLOBALS ['egMapsGMaps3Controls']
 
 $GLOBALS ['egMapsGMaps3DefTypeStyle'] = 'default'
 
 $GLOBALS ['egMapsGMaps3DefZoomStyle'] = 'default'
 
 $GLOBALS ['egMapsGMaps3AutoInfoWindows'] = false
 
 $GLOBALS ['egMapsGMaps3Layers'] = []
 
 $GLOBALS ['egMapsGMaps3DefaultTilt'] = 0
 
 $GLOBALS ['egMapsShowPOI'] = true
 
 $GLOBALS ['egMapsGMaps3Language'] = ''
 
 $GLOBALS ['egMapsOpenLayersZoom'] = 13
 
 $GLOBALS ['egMapsOLControls']
 
 $GLOBALS ['egMapsOLLayers']
 
 $GLOBALS ['egMapsOLAvailableLayers']
 
 $GLOBALS ['egMapsOLLayerGroups']
 
global $wgJsMimeType
 
 $GLOBALS ['egMapsOLLayerDependencies']
 
 $GLOBALS ['egMapsLeafletZoom'] = 14
 
 $GLOBALS ['egMapsLeafletLayer'] = 'OpenStreetMap'
 
 $GLOBALS ['egMapsLeafletOverlayLayers']
 
 $GLOBALS ['egMapsLeafletAvailableLayers']
 
 $GLOBALS ['egMapsLeafletAvailableOverlayLayers']
 
 $GLOBALS ['egMapsLeafletLayersApiKeys']
 
 $GLOBALS ['egMapsLeafletLayerDependencies']
 
 $GLOBALS ['egMapsGlobalJSVars'] = []
 

Variable Documentation

$GLOBALS['egMapsAvailableServices']
Initial value:
= [
'googlemaps3',
'openlayers',
'leaflet',
]

File defining the settings for the Maps extension.

                     NOTICE:

Changing one of these settings can be done by copying or cutting it, and placing it in LocalSettings.php, AFTER the inclusion of Maps.

Author
Jeroen De Dauw
$GLOBALS['egMapsDefaultService'] = 'leaflet'
$GLOBALS['egMapsDefaultServices'] = []
$GLOBALS['egMapsDefaultServices']['display_map'] = $GLOBALS['egMapsDefaultService']
$GLOBALS['egMapsDefaultServices']['qp'] = $GLOBALS['egMapsDefaultService']
$GLOBALS['egMapsDisableExtension'] = false
$GLOBALS['egMapsDisableSmwIntegration'] = false
$GLOBALS['egMapsAvailableGeoServices']
Initial value:
= [
'geonames',
'google',
'geocoderus',
'nominatim',
]
$GLOBALS['egMapsDefaultGeoService'] = 'geonames'
$GLOBALS['egMapsUserGeoOverrides'] = true
$GLOBALS['egMapsAllowCoordsGeocoding'] = true
$GLOBALS['egMapsEnableGeoCache'] = true
$GLOBALS['egMapsGeoNamesUser'] = ''
$GLOBALS['egMapsAvailableCoordNotations']
Initial value:
= [
]
const Maps_COORDS_DMS
Definition: Maps.php:34
const Maps_COORDS_FLOAT(defined( 'Maps_COORDS_FLOAT'))
Definition: Maps.php:33
const Maps_COORDS_DD
Definition: Maps.php:36
const Maps_COORDS_DM
Definition: Maps.php:35
$GLOBALS['egMapsCoordinateNotation'] = Maps_COORDS_DMS
$GLOBALS['smgQPCoodFormat'] = $GLOBALS['egMapsCoordinateNotation']
$GLOBALS['egMapsCoordinateDirectional'] = true
$GLOBALS['smgQPCoodDirectional'] = $GLOBALS['egMapsCoordinateDirectional']
$GLOBALS['egMapsInternatDirectionLabels'] = true
$GLOBALS['egMapsDistanceUnits']
Initial value:
= [
'm' => 1
$GLOBALS['egMapsDistanceUnit'] = 'm'
$GLOBALS['egMapsDistanceDecimals'] = 2
$GLOBALS['egMapsMapWidth'] = 'auto'
$GLOBALS['egMapsMapHeight'] = 350
$GLOBALS['egMapsSizeRestrictions']
Initial value:
= [
'width' => [ 50, 1020, 1, 100 ]
$GLOBALS['egMapsDefaultMapCentre'] = '0, 0'
$GLOBALS['egMapsDefaultTitle'] = ''
$GLOBALS['egMapsDefaultLabel'] = ''
$GLOBALS['egMapsResizableByDefault'] = false
$GLOBALS['egMapsRezoomForKML'] = false
$GLOBALS['smgQPShowTitle'] = true
$GLOBALS['smgQPHideNamespace'] = false
$GLOBALS['smgQPTemplate'] = false
$GLOBALS['egMapsEnableCategory'] = false
$GLOBALS['egMapsDebugJS'] = false
$GLOBALS['egMapsNamespaceIndex'] = 420
$GLOBALS['egMapsGMaps3ApiKey'] = ''
$GLOBALS['egMapsGMaps3ApiVersion'] = ''
$GLOBALS['egMapsGMaps3Zoom'] = 14
$GLOBALS['egMapsGMaps3Types']
Initial value:
= [
'roadmap',
'satellite',
'hybrid',
'terrain'
]
$GLOBALS['egMapsGMaps3Type'] = 'roadmap'
$GLOBALS['egMapsGMaps3Controls']
Initial value:
= [
'pan',
'zoom',
'type',
'scale',
'streetview'
]
$GLOBALS['egMapsGMaps3DefTypeStyle'] = 'default'
$GLOBALS['egMapsGMaps3DefZoomStyle'] = 'default'
$GLOBALS['egMapsGMaps3AutoInfoWindows'] = false
$GLOBALS['egMapsGMaps3Layers'] = []
$GLOBALS['egMapsGMaps3DefaultTilt'] = 0
$GLOBALS['egMapsShowPOI'] = true
$GLOBALS['egMapsGMaps3Language'] = ''
$GLOBALS['egMapsOpenLayersZoom'] = 13
$GLOBALS['egMapsOLControls']
Initial value:
= [
'layerswitcher',
'mouseposition',
'autopanzoom',
'scaleline',
'navigation'
]
$GLOBALS['egMapsOLLayers']
Initial value:
= [
'osm-mapnik',
'osm-cyclemap'
]
$GLOBALS['egMapsOLAvailableLayers']
Initial value:
= [
'bing-normal' => [ 'OpenLayers.Layer.VirtualEarth( "Bing Streets", {type: VEMapStyle.Shaded, "sphericalMercator":true} )', 'bing' ]
$GLOBALS['egMapsOLLayerGroups']
Initial value:
= [
'yahoo' => [ 'yahoo-normal', 'yahoo-satellite', 'yahoo-hybrid' ]
$GLOBALS['egMapsOLLayerDependencies']
Initial value:
= [
'yahoo' => "<style type='text/css'> #controls {width: 512px;}</style><script src='http://api.maps.yahoo.com/ajaxymap?v=3.0&appid=euzuro-openlayers'></script>"
$GLOBALS['egMapsLeafletZoom'] = 14
$GLOBALS['egMapsLeafletLayer'] = 'OpenStreetMap'
$GLOBALS['egMapsLeafletOverlayLayers']
Initial value:
= [
]
$GLOBALS['egMapsLeafletAvailableLayers']
Initial value:
= [
'OpenStreetMap' => true
$GLOBALS['egMapsLeafletAvailableOverlayLayers']
Initial value:
= [
'OpenMapSurfer.AdminBounds' => true
$GLOBALS['egMapsLeafletLayersApiKeys']
Initial value:
= [
'MapBox' => ''
$GLOBALS['egMapsLeafletLayerDependencies']
Initial value:
= [
'MapQuestOpen' => 'https://open.mapquestapi.com/sdk/leaflet/v2.2/mq-map.js?key='
$GLOBALS['egMapsGlobalJSVars'] = []
global $wgJsMimeType