Skip to content

Instantly share code, notes, and snippets.

@vdubr
Last active December 28, 2015 13:33
Show Gist options
  • Save vdubr/609fe33b97dd23b507f1 to your computer and use it in GitHub Desktop.
Save vdubr/609fe33b97dd23b507f1 to your computer and use it in GitHub Desktop.
{
"projection":"EPSG:4326",
"map":{
"init":{
"center":[16.61609,49.20989],
"zoom":14
},
"baseResolution":0.703125,
"resolutionsLevels":21
},
"layers":[
{
"type":"wms",
"specs":{
"url":"http://geoportal.cuzk.cz/WMS_ZM10_PUB/WMService.aspx",
"layers":"GR_ZM10",
"tiled":true,
"projection":"EPSG:4326"
},
"config":{
"name":"Základní mapa 10",
"baselayer":false,
"visible":true,
"alpha":0,
"reload":0,
"tags":["ZM10,podkladovka"]
}
},{
"type":"geojson",
"specs":{
"styleId":1,
"path":"https://gist.githubusercontent.com/vdubr/c34616f26da3d8243a9c/raw/map.geojson",
"style":"stylefunction",
"projection":"EPSG:4326"
},
"config":{
"name":"Trees",
"baselayer":false,
"visible":true,
"tags":["Trees","Vector","aaa"]
}
}
],
"theme":{
},
"styles":[
{
"id":1,
"def":{
"fill": {
"color":"#ffcc66",
"opacity":0.6
},
"stroke": {
"color":"#000000",
"opacity":0.6,
"width":1
},
"image": {
"src":"https://cdn2.iconfinder.com/data/icons/windows-8-metro-style/128/beer.png",
"scale":0.2
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment