Ir al contenido

Diferencia entre revisiones de «MediaWiki:Maps»

De REDIT
leaflet
layerDefinitions
Argenmap
url"https://wms.ign.gob.ar/geoserver/gwc/service/tms/1.0.0/capabaseargenmap@EPSG%3A3857@png/{z}/{x}/{-y}.png"
options
attribution"&copy; <a href="https://www.ign.gob.ar/">Instituto Geográfico Nacional</a>"
minZoom1
maxZoom20
tmstrue
availableLayers
Argenmaptrue
OpenStreetMapfalse

Configuration reference

general

SettingAccepted valueLocalSettings.php equivalent
mapWidthA size: a number, optionally with one of px, ex, em, %, or auto$egMapsMapWidth
mapHeightA size: a number, optionally with one of px, ex, em$egMapsMapHeight
defaultTitleText$egMapsDefaultTitle
defaultLabelText$egMapsDefaultLabel
resizableByDefaulttrue or false$egMapsResizableByDefault
rezoomForKmltrue or false$egMapsRezoomForKML
allowExternalKmltrue or false$egMapsAllowExternalKml
pagesWithMapsCategorytrue or false$egMapsEnableCategory
distanceUnitsNames, each set to a positive number$egMapsDistanceUnits
distanceUnitText$egMapsDistanceUnit
distanceDecimalsA whole number, 0 or greater$egMapsDistanceDecimals

coordinates

SettingAccepted valueLocalSettings.php equivalent
availableNotationsA list of any of: float, dms, dm, dd$egMapsAvailableCoordNotations
notationOne of: float, dms, dm, dd$egMapsCoordinateNotation
directionaltrue or false$egMapsCoordinateDirectional

geocoding

SettingAccepted valueLocalSettings.php equivalent
serviceOne of: geonames, google, nominatim$egMapsDefaultGeoService

semanticMediaWiki

SettingAccepted valueLocalSettings.php equivalent
showTitletrue or false$smgQPShowTitle
hideNamespacetrue or false$smgQPHideNamespace
templateText$smgQPTemplate
coordinateFormatOne of: float, dms, dm, dd$smgQPCoodFormat
coordinateDirectionaltrue or false$smgQPCoodDirectional

leaflet

SettingAccepted valueLocalSettings.php equivalent
layerDefinitionsNamed custom Leaflet layers; see the documentation$egMapsLeafletLayerDefinitions
defaultLayersA list of text values$egMapsLeafletLayers
defaultOverlaysA list of text values$egMapsLeafletOverlayLayers
availableLayersEach layer name set to true or false$egMapsLeafletAvailableLayers
availableOverlaysEach layer name set to true or false$egMapsLeafletAvailableOverlayLayers
defaultZoomA whole number$egMapsLeafletZoom

googleMaps

SettingAccepted valueLocalSettings.php equivalent
zoomA whole number$egMapsGMaps3Zoom
typeOne of: normal, roadmap, satellite, hybrid, terrain, physical$egMapsGMaps3Type
typesA list of any of: normal, roadmap, satellite, hybrid, terrain, physical$egMapsGMaps3Types
controlsA list of any of: pan, zoom, type, scale, streetview, rotate$egMapsGMaps3Controls
typeControlStyleOne of: default, horizontal, dropdown$egMapsGMaps3DefTypeStyle
zoomControlStyleOne of: default, small, large$egMapsGMaps3DefZoomStyle
autoInfoWindowstrue or false$egMapsGMaps3AutoInfoWindows
layersA list of any of: traffic, bicycling, transit$egMapsGMaps3Layers
showPoitrue or false$egMapsShowPOI
languageA language code, such as en, en-GB$egMapsGMaps3Language