magnacarto/mml/tests/001-json.mml
2016-02-03 22:24:34 +01:00

43 lines
925 B
Text

{
"name": "JSON MML",
"description": "JSON",
"scale": 1,
"center": [
0,
0,
4
],
"format": "png",
"metatile": 2,
"bounds": [
-180,
-85.05112877980659,
180,
85.05112877980659
],
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
"Stylesheet": [
"style.mss"
],
"minzoom": 0,
"maxzoom": 22,
"interactivity": false,
"Layer": [
{
"name": "test",
"srs-name": "900913",
"geometry": "polygon",
"class": "testclass",
"id": "testlayer",
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
"Datasource": {
"type": "shape",
"file": "test.shp"
},
"properties": {
"maxzoom": 9
},
"advanced": {}
}
]
}