- docker-compose: ghcr.io/maplibre/martin:v1.10.1, Port 3000 - config/martin.yaml: Auto-Discovery MBTiles/Styles/Sprites/Fonts, CORS built-in - nginx-Container entfernt (NPM uebernimmt Proxy/SSL/Routing) - config/config.json + nginx/ entfernt (TileServer-GL Artefakte) - docs: alle Endpunkt-URLs auf Martin-Format aktualisiert - .github/copilot-instructions.md: Stack auf Martin (Rust) aktualisiert - Vorteile: Hot-Reload, CORS built-in, ~10x weniger RAM
46 lines
1.5 KiB
Markdown
46 lines
1.5 KiB
Markdown
# 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;
|