-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Default map config and new context config
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
Showing
2 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Sorry, something went wrong. |
||
-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" | ||
}] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
} |
Thanks, but indent is weird !