# Versatiles ![Versatiles Logo](../assets/versatiles-logo.png) [Versatiles](https://versatiles.org) is a a free stack for generating and serving vector tiles based on [OpenStreetMap](https://openstreetmap.com) data. ## Dependencies This service requires the following other services: - a [Traefik](traefik.md) reverse-proxy server ## Configuration To enable this service, add the following configuration to your `vars.yml` file and re-run the [installation](../installing.md) process: ```yaml ######################################################################## # # # versatiles # # # ######################################################################## versatiles_enabled: true versatiles_hostname: tiles.example.com ######################################################################## # # # /versatiles # # # ######################################################################## ``` In the example configuration above, we configure the service to be hosted at `https://tiles.example.com/`. ## Usage After installation, you should be able to access your new Versatiles instance at: `https://tiles.example.com`. ![Map of Dresden](../assets/versatiles-map-example.jpeg) To embed the map in a website Copy & Paste the following snippet and replace `tiles.example.com` with your `versatiles_hostname`. ```html
``` For adjustments, check out the amazing [examples from maplibre](https://maplibre.org/maplibre-gl-js/docs/examples/).