OpenLayers elements for adding swisstopo maps to `openlayers-elements`
npm install @openlayers-elements/swisstopoOpenLayers elements for adding swisstopo maps to openlayers-elements
To install run
```
npm add @openlayers-elements/swisstopo @openlayers-elements/core
Then add the WMTS layer to your ol-map
`html
``
For valid layer names, check http://api3.geo.admin.ch/api/faq/index.html#which-layers-are-available
Note that these layers require to register with http://swisstopo.ch/webaccess
For the reason mentioned above, the online demos don't work. You can run them locally (check the
root readme). Here's a how the two sample maps look like in the browser when the map API is acessible:
It is jus tas easy to overlay OpenStreetMap with a Swisstopo layer: