diff --git a/historical/historical.json b/historical/historical.json index 23ce22ec..d538b179 100644 --- a/historical/historical.json +++ b/historical/historical.json @@ -6739,6 +6739,96 @@ "text-halo-blur": 1 } }, + { + "id": "islets_points_labels", + "type": "symbol", + "source": "ohm", + "source-layer": "place_points_centroids", + "minzoom": 12, + "maxzoom": 20, + "filter": ["in", ["get", "type"], ["literal", ["islet"]]], + "layout": { + "text-line-height": 1, + "text-size": ["interpolate", ["linear"], ["zoom"], 3, 4, 6, 7, 10, 10], + "symbol-avoid-edges": true, + "symbol-spacing": 25, + "text-font": ["OpenHistorical"], + "symbol-placement": "point", + "visibility": "visible", + "text-field": ["get", "name"] + }, + "paint": { + "text-color": [ + "interpolate", + ["linear"], + ["zoom"], + 6, + "rgba(90, 90, 90, 1)" + ], + "text-halo-width": 0.5, + "text-halo-blur": 0.5, + "text-halo-color": [ + "interpolate", + ["linear"], + ["zoom"], + 0, + "rgba(252, 255, 254, 0.75)", + 3, + "rgba(240, 244, 216, 1)", + 5, + "rgba(246,247,227, 1)", + 7, + "rgba(255,255,255, 1)" + ], + "text-translate-anchor": "map", + "icon-translate-anchor": "map" + } + }, + { + "id": "islands_points_labels", + "type": "symbol", + "source": "ohm", + "source-layer": "place_points_centroids", + "minzoom": 8, + "maxzoom": 20, + "filter": ["in", ["get", "type"], ["literal", ["island"]]], + "layout": { + "text-line-height": 1, + "text-size": ["interpolate", ["linear"], ["zoom"], 3, 5, 6, 8, 10, 12], + "symbol-avoid-edges": true, + "symbol-spacing": 25, + "text-font": ["OpenHistorical"], + "symbol-placement": "point", + "visibility": "visible", + "text-field": ["get", "name"] + }, + "paint": { + "text-color": [ + "interpolate", + ["linear"], + ["zoom"], + 6, + "rgba(90, 90, 90, 1)" + ], + "text-halo-width": 0.5, + "text-halo-blur": 0.5, + "text-halo-color": [ + "interpolate", + ["linear"], + ["zoom"], + 0, + "rgba(252, 255, 254, 0.75)", + 3, + "rgba(240, 244, 216, 1)", + 5, + "rgba(246,247,227, 1)", + 7, + "rgba(255,255,255, 1)" + ], + "text-translate-anchor": "map", + "icon-translate-anchor": "map" + } + }, { "id": "county_labels_z11_admin_7-8_centroids", "type": "symbol",