Part of the VC Map Project
This plugin fetches themes from the Geoportail Luxembourg and maps them to a VCS module config. The module config includes layers, contentTree and i18n (for translations) entries.
To further develop the plugin run: npm start
These params (mostly URLs) must be indicated in the plugin config when deployed:
luxThemesUrl- URL to themes APIluxI18nUrl- URL to translationsluxOwsUrl- URL to OGC web servicesluxWmtsUrl- URL to WMTSluxLegendUrl- URL to legendsluxDefaultBaselayer- name of the default baselayer to display
- Add plugin dependency in desired version to
plugins/package.json:
"dependencies": {
...
"@geoportallux/lux-3dviewer-themesync": "...",
...
- Add plugin with desired values to map-ui module configuration:
{
"name": "@geoportallux/lux-3dviewer-themesync",
"entry": "plugins/@geoportallux/lux-3dviewer-themesync/index.js",
"luxThemesUrl": "...",
"luxI18nUrl": "...",
"luxOwsUrl": "...",
"luxWmtsUrl": "...",
"luxLegendUrl": "...",
"luxDefaultBaselayer": "..."
},
Use the following commands to increase the version and push a new tag, which builds a new version as npm package:
npm version 1.0.0 --no-git-tag-version
git add .
git commit -m "1.0.0"
git tag v1.0.0
git push origin main v1.0.0 # replace "origin" with your remote repo name