Skip to content

Commit

Permalink
Add Default map config and new context config
Browse files Browse the repository at this point in the history
So they can be customized by just editing them in the datadir
  • Loading branch information
Lorenzo Pini committed Jun 5, 2020
1 parent 61c4dfa commit 2abc3cd
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
31 changes: 31 additions & 0 deletions mapstore/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"map": {
"projection": "EPSG:3857",
"units": "m",
"center": {
"x": 315445.640682,
"y": 5971955.5,
"crs": "EPSG:3857"
},
"zoom": 6,
"maxExtent": [

This comment has been minimized.

Copy link
@fvanderbiest

fvanderbiest Jun 5, 2020

Member

Thanks, but indent is weird !

-20037508.34, -20037508.34,
20037508.34, 20037508.34
],
"layers": [{
"type": "osm",
"title": "Open Street Map",
"name": "mapnik",
"source": "osm",
"group": "background",
"visibility": true
},
{
"source": "ol",
"group": "background",
"title": "Empty Background",
"fixed": true,
"type": "empty"
}]
}
}
28 changes: 28 additions & 0 deletions mapstore/new.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"map": {
"projection": "EPSG:3857",
"units": "m",
"center": {"x": 315445.640682, "y": 5971955.5, "crs": "EPSG:3857"},
"zoom":6,
"maxExtent": [
-20037508.34, -20037508.34,
20037508.34, 20037508.34
],
"layers": [
{
"type": "osm",
"title": "Open Street Map",
"name": "mapnik",
"source": "osm",
"group": "background",
"visibility": true
},{
"source": "ol",
"group": "background",
"title": "Empty Background",
"fixed": true,
"type": "empty"
}
]
}
}

0 comments on commit 2abc3cd

Please sign in to comment.