Open Infrastructure Map, a view of infrastructure data in OpenStreetMap
Attribution tweaks
Russ Garrett014ea94fa936
diff --git a/web/src/index.css b/web/src/index.cssindex 25ca7b2..8e3a66d 100644--- a/web/src/index.css+++ b/web/src/index.css@@ -76,6 +76,11 @@ h1 {margin: 0.5rem 0.5rem 0 0;}+.maplibregl-ctrl-attrib.maplibregl-compact {+ background-color: rgba(250, 250, 250, 0.8);+ backdrop-filter: blur(3px) saturate(80%);+}+#geo-search {box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 2px;}diff --git a/web/src/style/style.ts b/web/src/style/style.tsindex ca8fa8d..63b78cf 100644--- a/web/src/style/style.ts+++ b/web/src/style/style.ts@@ -1,7 +1,7 @@import { StyleSpecification } from 'maplibre-gl'const oim_attribution =- '<a href="https://www.openstreetmap.org/copyright">© OpenStreetMap contributors</a>, <a href="https://openinframap.org/copyright">OpenInfraMap</a>'+ '<a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>, <a href="https://openinframap.org/copyright">Open Infrastructure Map</a>'const style: StyleSpecification = {version: 8,@@ -29,7 +29,7 @@ const style: StyleSpecification = {type: 'vector',tiles: ['https://openinframap.org/20221105/{z}/{x}/{y}.mvt'],maxzoom: 14,- attribution: '<a href="https://openmaptiles.org/">© OpenMapTiles</a>'+ attribution: '<a href="https://openmaptiles.org/">OpenMapTiles</a>'},power: {type: 'vector',