forked from geo-frontend/nlmaps
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable use of custom config with temp dir and copying
in order to build nlmaps with a custom config, we create a temp directory and copy either the default there or the one specified with -c to build script. configParser requires this path.
- Loading branch information
Showing
5 changed files
with
121 additions
and
3 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 |
---|---|---|
|
@@ -4,3 +4,4 @@ npm-debug.log | |
lerna-debug.log | ||
.vscode | ||
.nyc_output | ||
packages/config/.tmp |
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
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,97 @@ | ||
export default { | ||
"version": 0.1, | ||
"basemaps": { | ||
"defaults": { | ||
"crs": "EPSG:3857", | ||
"attr": "Kaartgegevens © <a href='https://www.kadaster.nl'>Kadaster</a> | <a href='https://www.verbeterdekaart.nl'>Verbeter de kaart</a>", | ||
"minZoom": 6, | ||
"maxZoom": 19, | ||
"type": "wmts", | ||
"format": "jpeg", | ||
"url": "https://geodata.nationaalgeoregister.nl/tiles/service" | ||
}, | ||
"layers": [ | ||
{ | ||
"name": "standaard", | ||
"urlname": "brtachtergrondkaart" | ||
}, | ||
{ | ||
"name": "grijs", | ||
"urlname": "brtachtergrondkaartgrijs" | ||
}, | ||
{ | ||
"name": "pastel", | ||
"urlname": "brtachtergrondkaartpastel" | ||
},{ | ||
"name": "luchtfoto", | ||
"urlname": "2016_ortho25", | ||
"url": "https://geodata.nationaalgeoregister.nl/luchtfoto/rgb", | ||
"format": "jpeg" | ||
} | ||
] | ||
}, | ||
"wms": { | ||
"defaults": { | ||
"url": "https://geodata.nationaalgeoregister.nl/{workSpaceName}/wms?", | ||
"version": "1.1.1", | ||
"transparent": true, | ||
"format": "image/png", | ||
"minZoom": 0, | ||
"maxZoom": 24 | ||
}, | ||
"layers": [ | ||
{ | ||
"name": "foobar", | ||
"workSpaceName": "bash", | ||
"layerName": "peachy" | ||
}, | ||
{ | ||
"name": "gebouwen", | ||
"workSpaceName": "bag", | ||
"layerName": "pand" | ||
}, | ||
{ | ||
"name": "percelen", | ||
"workSpaceName": "bkadastralekaartv3ag", | ||
"layerName": "kadastralekaart" | ||
}, | ||
{ | ||
"name": "drone-no-fly-zones", | ||
"workSpaceName": "dronenoflyzones", | ||
"layerName": "luchtvaartgebieden,landingsite" | ||
}, | ||
{ | ||
"name": "hoogte", | ||
"workSpaceName": "ahn2", | ||
"layerName": "ahn2_05m_int", | ||
"styleName": "ahn2:ahn2_05m_detail" | ||
}, | ||
{ | ||
"name": "gemeenten", | ||
"workSpaceName": "bestuurlijkegrenzen", | ||
"layerName": "gemeenten", | ||
"styleName": "bestuurlijkegrenzen:bestuurlijkegrenzen_gemeentegrenzen" | ||
}, | ||
{ | ||
"name": "provincies", | ||
"workSpaceName": "bestuurlijkegrenzen", | ||
"layerName": "provincies", | ||
"styleName": "bestuurlijkegrenzen:bestuurlijkegrenzen_provinciegrenzen" | ||
} | ||
] | ||
}, | ||
"geocoder": { | ||
"suggestUrl": "https://geodata.nationaalgeoregister.nl/locatieserver/v3/suggest?", | ||
"lookupUrl": "https://geodata.nationaalgeoregister.nl/locatieserver/v3/lookup?" | ||
}, | ||
"map": { | ||
"style": 'standaard', | ||
"center": { | ||
"latitude": 52.093249, | ||
"longitude": 5.111994 | ||
}, | ||
"zoom": 8, | ||
"attribution": true, | ||
"extent": [-180,-90,180,90] | ||
} | ||
} |
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
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