{"version":8,"name":"SpotsGuru Basemap Labels","metadata":{"spotsguru:role":"Calque LABELS uniquement (noms de villes/regions/pays). Overlay transparent rendu AU-DESSUS de la carte meteo, pour que les noms restent lisibles. Le reste du fond (eau/routes/frontieres) est dans le style basemap, rendu SOUS la meteo.","spotsguru:schema":"Protomaps basemap (build.protomaps.com)."},"glyphs":"https://protomaps.github.io/basemaps-assets/fonts/{fontstack}/{range}.pbf","sources":{"protomaps":{"type":"vector","url":"https://mon-chirurgien.fr/data/3596384398_20260519.json","attribution":"<a href=\"https://protomaps.com\">Protomaps</a>"}},"layers":[{"id":"lake-outline","type":"line","source":"protomaps","source-layer":"water","filter":["all",["==",["geometry-type"],"Polygon"],["!=",["get","kind"],"ocean"]],"minzoom":7,"metadata":{"spotsguru:note":"Contour des lacs / plans d'eau interieurs (exclut l'ocean). Dans basemap-labels donc AU-DESSUS de la meteo : les lacs restent visibles meme avec un overlay vent dense."},"layout":{"line-join":"round","line-cap":"round"},"paint":{"line-color":"#4f7689","line-opacity":0.85,"line-width":["interpolate",["linear"],["zoom"],7,0.4,10,0.9,13,1.4,16,2.2]}},{"id":"peak-label","type":"symbol","source":"protomaps","source-layer":"pois","filter":["all",["==",["get","kind"],"peak"],["<=",["get","min_zoom"],["zoom"]]],"minzoom":10,"metadata":{"spotsguru:note":"Noms de sommets (Protomaps ne fournit pas le champ ele). Italique brun pour differencier des villes. Protomaps assigne min_zoom=12 aux sommets emblematiques et 14 aux peaks secondaires : on les rend a leur min_zoom natif."},"layout":{"text-field":["get","name"],"text-font":["Noto Sans Italic"],"text-size":["interpolate",["linear"],["zoom"],10,9,14,11],"text-max-width":8,"text-padding":6},"paint":{"text-color":"#5c4e3d","text-halo-color":"#ffffff","text-halo-width":1.4}},{"id":"place-locality-small","type":"symbol","source":"protomaps","source-layer":"places","filter":["all",["==",["get","kind"],"locality"],[">=",["get","min_zoom"],9],["<=",["+",["get","min_zoom"],2],["zoom"]]],"minzoom":10,"metadata":{"spotsguru:note":"Villages et petites villes. Filtre min_zoom+2 <= zoom : une localite n'apparait que 2 zooms apres celui que Protomaps lui assigne, pour eviter la saturation aux z13-z14 (hameaux). text-padding eleve aide aussi la deconfliction."},"layout":{"text-field":["get","name"],"text-font":["Noto Sans Regular"],"text-size":["interpolate",["linear"],["zoom"],10,10,15,13],"text-max-width":7,"text-padding":8},"paint":{"text-color":"#56514a","text-halo-color":"#ffffff","text-halo-width":1.6}},{"id":"place-locality","type":"symbol","source":"protomaps","source-layer":"places","filter":["all",["==",["get","kind"],"locality"],["<",["get","min_zoom"],9]],"minzoom":5,"metadata":{"spotsguru:note":"Villes principales, triees par importance via min_zoom Protomaps."},"layout":{"text-field":["get","name"],"text-font":["Noto Sans Medium"],"text-size":["interpolate",["linear"],["zoom"],5,11,10,14,14,17],"text-max-width":8,"text-padding":6},"paint":{"text-color":"#39352f","text-halo-color":"#ffffff","text-halo-width":1.8}},{"id":"place-region","type":"symbol","source":"protomaps","source-layer":"places","filter":["==",["get","kind"],"region"],"minzoom":4,"maxzoom":9,"layout":{"text-field":["upcase",["get","name"]],"text-font":["Noto Sans Regular"],"text-size":["interpolate",["linear"],["zoom"],4,9,8,12],"text-letter-spacing":0.15,"text-max-width":9},"paint":{"text-color":"#8a8278","text-halo-color":"#ffffff","text-halo-width":1.6}},{"id":"place-country","type":"symbol","source":"protomaps","source-layer":"places","filter":["==",["get","kind"],"country"],"minzoom":2,"maxzoom":7,"layout":{"text-field":["upcase",["get","name"]],"text-font":["Noto Sans Medium"],"text-size":["interpolate",["linear"],["zoom"],2,10,6,15],"text-letter-spacing":0.2,"text-max-width":8},"paint":{"text-color":"#4a443c","text-halo-color":"#ffffff","text-halo-width":2}}]}