A fun map of Switzerland with flags!
The Swiss cantonal boundaries are loaded as vector tiles, using the same tile grid as Swisstopo raster maps.
The tiles have been generated with t-rex and are available in this repo.
URL: https://labs.karavia.ch/map-with-flags/cantonal-boundaries/{z}/{x}/{y}.pbf
Zoom levels 0 to 20 have been generated.
This repo was originally called swiss-tile-grid-vt and contained tech demos for loading vector tiles using the Swiss tile grid with the latest mapping libraries at the time (2019).
You can still see them here:
The tiles have been derived from the swissBOUNDARIES3D by Swisstopo. Attribution of the source is required when using the tiles.
OpenLayers 5.3.0 is licensed under the 2-Clause BSD License.
Leaflet.VectorTileLayer is licensed under the 3-Clause BSD License.
The remaining code in this repo is licensed under the MIT license, see the LICENSE file.