map: define layers in config.js

This commit is contained in:
Nils Schneider 2015-07-07 16:36:19 +02:00
commit 3954ec5eaf
3 changed files with 42 additions and 11 deletions

View file

@ -3,5 +3,19 @@ define({
"siteName": "Freifunk Lübeck",
"mapSigmaScale": 0.5,
"showContact": true,
"maxAge": 14
"maxAge": 14,
"mapLayers": [
{ "name": "MapQuest",
"url": "https://otile{s}-s.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.jpg",
"config": {
"subdomains": "1234",
"type": "osm",
"attribution": "Tiles &copy; <a href=\"https://www.mapquest.com/\" target=\"_blank\">MapQuest</a>, Data CC-BY-SA OpenStreetMap",
"maxZoom": 18
}
},
{
"name": "Stamen.TonerLite"
}
]
})