2026-05-30 15:57:07 +00:00
|
|
|
|
# Allgemeine Tile-Server Endpunkte
|
|
|
|
|
|
#
|
|
|
|
|
|
# Sobald der Server läuft, sind folgende Endpoints verfügbar:
|
|
|
|
|
|
#
|
|
|
|
|
|
# Web-Interface:
|
|
|
|
|
|
# http://SERVER:PORT/
|
|
|
|
|
|
#
|
|
|
|
|
|
# Styles (Raster-Tiles, PNG):
|
|
|
|
|
|
# http://SERVER:PORT/styles/osm-bright/{z}/{x}/{y}.png ← OSM
|
|
|
|
|
|
# http://SERVER:PORT/styles/satellite-hybrid/{z}/{x}/{y}.png ← Satellit
|
|
|
|
|
|
# http://SERVER:PORT/styles/osm-bright/{z}/{x}/{y}@2x.png ← Retina
|
|
|
|
|
|
#
|
|
|
|
|
|
# Daten (Vektor-Tiles, PBF):
|
|
|
|
|
|
# http://SERVER:PORT/data/osm-openmaptiles/{z}/{x}/{y}.pbf
|
|
|
|
|
|
# http://SERVER:PORT/data/satellite/{z}/{x}/{y}.png
|
|
|
|
|
|
#
|
|
|
|
|
|
# TileJSON (Metadaten für Leaflet, MapLibre, etc.):
|
|
|
|
|
|
# http://SERVER:PORT/styles/osm-bright.json
|
|
|
|
|
|
# http://SERVER:PORT/data/osm-openmaptiles.json
|
|
|
|
|
|
#
|
|
|
|
|
|
# WMTS (für QGIS, ArcGIS, etc.):
|
|
|
|
|
|
# http://SERVER:PORT/styles/osm-bright/wmts
|
|
|
|
|
|
#
|
|
|
|
|
|
# Leaflet.js Beispiel:
|
|
|
|
|
|
# L.tileLayer('http://SERVER:PORT/styles/osm-bright/{z}/{x}/{y}.png', {
|
|
|
|
|
|
# attribution: '© OpenMapTiles © OpenStreetMap contributors',
|
|
|
|
|
|
# maxZoom: 20
|
|
|
|
|
|
# }).addTo(map);
|
|
|
|
|
|
#
|
|
|
|
|
|
# MapLibre GL Beispiel:
|
|
|
|
|
|
# new maplibregl.Map({
|
|
|
|
|
|
# style: 'http://SERVER:PORT/styles/osm-bright.json',
|
|
|
|
|
|
# container: 'map'
|
|
|
|
|
|
# });
|
2026-05-30 16:01:28 +00:00
|
|
|
|
#
|
|
|
|
|
|
# Home Assistant – configuration.yaml:
|
|
|
|
|
|
# map:
|
|
|
|
|
|
# lovelace card (custom:map-card oder built-in):
|
|
|
|
|
|
# tile_layer_url: 'http://SERVER:PORT/styles/osm-bright/{z}/{x}/{y}.png'
|
|
|
|
|
|
# tile_layer_attribution: '© OpenMapTiles © OpenStreetMap contributors'
|
|
|
|
|
|
#
|
|
|
|
|
|
# Für Home Assistant custom:map-card (HACS):
|
|
|
|
|
|
# tile_layer_url: 'http://SERVER:PORT/styles/osm-bright/{z}/{x}/{y}.png'
|
|
|
|
|
|
# tile_layer_max_zoom: 19
|