Create and embed a Swiss Map Web map on your webpage
This tutorial is designed for anyone who wants to display a swisstopo map on their own website. Basic knowledge of HTML and web technologies is recommended. No in-depth knowledge of GIS or web mapping is required.
Learn how to integrate a swisstopo vector map into your webpage using MapLibre GL JS and explore the four available map styles.
Swiss Map Web allows you to explore web-specific maps based on swisstopo geodata and map styles. You can integrate a Swiss Map Web application into your own webpage using an HTML iframe.
The tutorial covers three steps:
- Build the map: Create a MapLibre map and load one of the available swisstopo vector tile styles.
- Host the map webpage: Publish your map application so that it can be accessed via its own URL.
- Embed the map: Use an iframe to display your hosted map application within an existing webpage.
