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'
});