An Angular-based map viewer application built with OpenLayers and Angular (v20).
- Node.js 22+
- npm
npm installThis workspace contains two Angular projects:
deu-viewer— the main applicationngx-guided-tour— a local Angular library bundled inprojects/ngx-guided-tour/
Because ngx-guided-tour is a local library, it must be built before the main app. The npm scripts handle this automatically.
npm startThis builds ngx-guided-tour first, then starts the dev server. Navigate to http://localhost:4200/. The app reloads automatically on source file changes.
Do not use
ng servedirectly — it skips the library build and will fail.
npm run buildBuilds ngx-guided-tour and then the main application. Build artifacts are written to dist/deu-viewer/browser/.
npm run lintnpm run license-reportGenerates a license report for all dependencies in license/license-report.md.
A multi-stage Dockerfile is included. The image builds the app and serves it via nginx.
docker build -t deu-geoviewer .
docker run -p 8080:80 deu-geoviewerEnvironment variables available at runtime:
| Variable | Default | Description |
|---|---|---|
PORT |
80 |
Port nginx listens on |
BASE_HREF |
/ |
Base href for the Angular app |
PROXY_URL |
https://www.europeandataportal.eu/mapapps-proxy? |
Map proxy URL |
DEPLOY_URL |
https://ppe.data.europa.eu/ |
Deployment URL |