{"version":8,"name":"GeoSend","metadata":{"geosend:note":"Style MapLibre pour le schema Protomaps v4 (couches earth, water, landcover, landuse, roads, buildings, boundaries, places). Rendu cote serveur en PNG par tileserver-gl pour osmdroid, qui ne lit pas le vectoriel. Libelles en francais avec repli sur le nom local."},"glyphs":"https://geotiles.davidpallier.fr/fonts/{fontstack}/{range}.pbf","sources":{"protomaps":{"type":"vector","url":"https://geotiles.davidpallier.fr/data/france.json"}},"layers":[{"id":"background","type":"background","paint":{"background-color":"#f7f5f2"}},{"id":"earth","type":"fill","source":"protomaps","source-layer":"earth","paint":{"fill-color":"#f7f5f2"}},{"id":"landcover","type":"fill","source":"protomaps","source-layer":"landcover","paint":{"fill-color":["match",["get","kind"],"forest","#d5e6cd","grassland","#e3ecd8","scrub","#e0e8d4","farmland","#f0edda","glacier","#f2f7fa","sand","#f5eeda","#eceadf"],"fill-opacity":0.7}},{"id":"landuse","type":"fill","source":"protomaps","source-layer":"landuse","minzoom":9,"paint":{"fill-color":["match",["get","kind"],"park","#d9ead0","garden","#d9ead0","nature_reserve","#d9ead0","cemetery","#e0e6d8","hospital","#f2e3e3","school","#eae7dd","university","#eae7dd","pedestrian","#efece5","beach","#f7eed6","#ebe8de"],"fill-opacity":0.8}},{"id":"water","type":"fill","source":"protomaps","source-layer":"water","paint":{"fill-color":"#a9cbe4"}},{"id":"buildings","type":"fill","source":"protomaps","source-layer":"buildings","minzoom":14,"paint":{"fill-color":"#e0dcd2","fill-outline-color":"#d2cdc1"}},{"id":"roads-casing","type":"line","source":"protomaps","source-layer":"roads","minzoom":8,"filter":["!=",["get","kind"],"path"],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#ffffff","line-width":["interpolate",["exponential",1.6],["zoom"],8,1.4,12,3.5,16,11,19,30]}},{"id":"roads","type":"line","source":"protomaps","source-layer":"roads","minzoom":6,"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":["match",["get","kind"],"highway","#f6a97a","major_road","#fbd08a","medium_road","#fdeeb8","minor_road","#ffffff","path","#d8cfc0","rail","#cdc7bd","#ffffff"],"line-width":["interpolate",["exponential",1.6],["zoom"],6,0.6,10,1.6,14,4,16,8,19,24]}},{"id":"boundaries","type":"line","source":"protomaps","source-layer":"boundaries","paint":{"line-color":"#9d93a8","line-dasharray":[3,2],"line-width":["interpolate",["linear"],["zoom"],3,0.6,10,1.6]}},{"id":"roads-labels","type":"symbol","source":"protomaps","source-layer":"roads","minzoom":14,"filter":["has","name"],"layout":{"symbol-placement":"line","text-field":["coalesce",["get","name:fr"],["get","name"]],"text-font":["Noto Sans Regular"],"text-size":11},"paint":{"text-color":"#5b5751","text-halo-color":"#ffffff","text-halo-width":1.4}},{"id":"places-labels","type":"symbol","source":"protomaps","source-layer":"places","layout":{"text-field":["coalesce",["get","name:fr"],["get","name"]],"text-font":["Noto Sans Medium"],"text-size":["interpolate",["linear"],["zoom"],4,["match",["get","kind"],"country",13,"region",11,9],8,["match",["get","kind"],"country",15,"region",13,"locality",12,10],12,["match",["get","kind"],"country",15,"region",13,"locality",15,11],16,["match",["get","kind"],"locality",18,12]],"text-max-width":8,"text-anchor":"center"},"paint":{"text-color":"#2f2b26","text-halo-color":"#ffffff","text-halo-width":1.8}}]}