{"version":8,"name":"Global Healthcare Access","glyphs":"https://tile.yuiseki.net/fonts/{fontstack}/{range}.pbf","sprite":"https://tile.yuiseki.net/styles/healthcare/sprite","sources":{"healthcare":{"type":"vector","url":"https://tile.yuiseki.net/data/healthcare.json"}},"layers":[{"id":"background","type":"background","paint":{"background-color":"#45516e"}},{"id":"ocean","type":"fill","source":"healthcare","source-layer":"ocean","paint":{"fill-color":"#002e42"}},{"id":"land","type":"fill","source":"healthcare","source-layer":"land","paint":{"fill-color":"#45516e"}},{"id":"lakes","type":"fill","source":"healthcare","source-layer":"lakes","paint":{"fill-color":"#1d2c34"}},{"id":"countries-outline","type":"line","source":"healthcare","source-layer":"countries","minzoom":0,"maxzoom":5,"paint":{"line-color":"#5a6b73","line-width":0.5}},{"id":"healthcare-polygons","type":"fill","source":"healthcare","source-layer":"healthcare","filter":["==","$type","Polygon"],"minzoom":12,"paint":{"fill-color":"#e45a5a","fill-opacity":0.2}},{"id":"healthcare-points","type":"circle","source":"healthcare","source-layer":"healthcare","filter":["==","$type","Point"],"minzoom":4,"paint":{"circle-color":["match",["get","class"],"hospital","#e45a5a","clinic","#f0a253","pharmacy","#5abf82","dentist","#8d6ac4","#cccccc"],"circle-radius":["interpolate",["linear"],["zoom"],4,["case",["==",["get","class"],"hospital"],2,0],8,["case",["==",["get","class"],"hospital"],4,2],12,["case",["==",["get","class"],"hospital"],8,["==",["get","class"],"clinic"],6,4],16,["case",["==",["get","class"],"hospital"],12,["==",["get","class"],"clinic"],10,6]],"circle-stroke-width":["case",["==",["get","emergency"],true],2.5,1],"circle-stroke-color":"#ffffff","circle-opacity":["interpolate",["linear"],["zoom"],4,0.8,8,0.9],"circle-stroke-opacity":["interpolate",["linear"],["zoom"],4,0.8,8,1]}},{"id":"healthcare-labels","type":"symbol","source":"healthcare","source-layer":"healthcare","minzoom":12,"layout":{"text-field":["get","name"],"text-font":["Open Sans Semibold","Arial Unicode MS Bold"],"text-size":10,"text-offset":[0,1.5],"text-anchor":"top","text-optional":true,"icon-image":["case",["all",["==",["get","class"],"hospital"],["==",["get","emergency"],true]],"hospital-emergency-24",["==",["get","class"],"hospital"],"hospital-24",["==",["get","class"],"clinic"],"clinic-18",["==",["get","class"],"pharmacy"],"pharmacy-18",["==",["get","class"],"dentist"],"dentist-18","dot-10"],"icon-allow-overlap":false,"icon-size":1},"paint":{"text-color":"#ffffff","text-halo-color":"#38474f","text-halo-width":1.5}}]}