# Martin Tile Server – Endpunkte # # Sobald der Server laeuft (Port 3000, via NPM erreichbar): # # Health-Check: # http://SERVER:3000/health # # Katalog aller geladenen Sources (MBTiles/PMTiles): # http://SERVER:3000/catalog # # Vektor-Tiles (OSM, OpenMapTiles-Schema – PBF): # http://SERVER:3000/osm/{z}/{x}/{y} # TileJSON-Metadaten: http://SERVER:3000/osm # # Raster-Tiles (Satellit – PNG, direkt aus raster MBTiles): # http://SERVER:3000/satellite/{z}/{x}/{y} # TileJSON-Metadaten: http://SERVER:3000/satellite # # MapLibre GL Style (fuer Clients die selbst rendern): # http://SERVER:3000/styles/osm-bright # http://SERVER:3000/styles/satellite-hybrid # # Sprites (Icons, Pins, eigene Marker): # http://SERVER:3000/sprites/default.json # http://SERVER:3000/sprites/default.png # # Fonts (Karten-Labels): # http://SERVER:3000/fonts/{font_name}/{start}-{end}.pbf # # MapLibre GL – Style direkt einbinden (empfohlen fuer alle Clients): # new maplibregl.Map({ # style: 'http://SERVER:3000/styles/osm-bright', # container: 'map' # }); # # Leaflet.js – Raster-Tiles (Satellit): # L.tileLayer('http://SERVER:3000/satellite/{z}/{x}/{y}', { # attribution: 'Sentinel-2 cloudless', # maxZoom: 14 # }).addTo(map); # # Home Assistant custom:map-card – Satellit (Raster, direkt nutzbar): # tile_layer_url: 'http://SERVER:3000/satellite/{z}/{x}/{y}' # # NPM Advanced Config (Caching-Header, einmalig eintragen): # add_header Cache-Control "public, max-age=86400, stale-while-revalidate=3600" always;