https://github.com/geoadmin/web-mapviewer
The viewer application for maps and geodata
https://github.com/geoadmin/web-mapviewer
frontend managed-by-tf maps openlayers
Last synced: about 1 year ago
JSON representation
The viewer application for maps and geodata
- Host: GitHub
- URL: https://github.com/geoadmin/web-mapviewer
- Owner: geoadmin
- License: other
- Created: 2020-04-08T13:59:09.000Z (about 6 years ago)
- Default Branch: develop
- Last Pushed: 2024-10-29T14:25:15.000Z (over 1 year ago)
- Last Synced: 2024-10-29T14:59:24.000Z (over 1 year ago)
- Topics: frontend, managed-by-tf, maps, openlayers
- Language: JavaScript
- Homepage: https://map.geo.admin.ch
- Size: 17.8 MB
- Stars: 62
- Watchers: 22
- Forks: 11
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# web-mapviewer
The next generation map viewer application of [map.geo.admin.ch](https://map.geo.admin.ch).
Designed to provide a modern and feature-rich interface for exploring Swiss geospatial data.
It supports interactive tools, external layer providers and is backed by robust CI/CD processes for seamless deployment.
| Branch | CI Status | E2E Tests | Deployed version |
|-------------| ---------- | --------- | ---------------- |
| develop |  | [](https://cloud.cypress.io/projects/fj2ezv/runs) | |
| master |  | [](https://cloud.cypress.io/projects/fj2ezv/runs) | |
## Getting started
### Pre-Requirements
The following tools are required to use `web-mapviewer` locally
- Nodejs 22
- pnpm 10
### Install
```bash
pnpm install
```
### Running project locally
```bash
pnpm run build-all
pnpm run dev
```
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md)
## Check External Layer Provider list
In the `Import` tool we provide a hardcoded list of provider via the [external-providers.json](./packages/mapviewer/src/modules/menu/components/advancedTools/ImportCatalogue/external-providers.json) file. Because we have quite a lot of provider, we have a CLI tool in order to
check their validity. The tool can also be used with a single url as input parameter to see the URL would be valid
for our application.
```bash
pnpm install
./packages/mapviewer/scripts/check-external-layers-providers.js
```
You can use `-h` option to get more detail on the script.