Fixes for map results page
Some checks failed
Run Integration Tests / test (push) Failing after 19m14s
Some checks failed
Run Integration Tests / test (push) Failing after 19m14s
This commit is contained in:
parent
04fb53cf11
commit
43d7068c7a
48 changed files with 120 additions and 239 deletions
|
@ -184,8 +184,6 @@ msgstr "Strate"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satelliet"
|
msgstr "Satelliet"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Esri Satelliet"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografiese"
|
msgstr "Topografiese"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "شوارع"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "قمر صناعي"
|
msgstr "قمر صناعي"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "قمر صناعي ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "طوبوغرافي"
|
msgstr "طوبوغرافي"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Вуліцы"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Спадарожнік"
|
msgstr "Спадарожнік"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Спадарожнік ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Тапаграфічная"
|
msgstr "Тапаграфічная"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Улици"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Сателит"
|
msgstr "Сателит"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI Сателит"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Топографска"
|
msgstr "Топографска"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Carrers"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satèl·lit"
|
msgstr "Satèl·lit"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Satèl·lit ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topogràfic"
|
msgstr "Topogràfic"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Ulice"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satelitní"
|
msgstr "Satelitní"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Esri Satelitní"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografická"
|
msgstr "Topografická"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Gader"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satellit"
|
msgstr "Satellit"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI Satellit"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografisk"
|
msgstr "Topografisk"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Straßen"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satellit"
|
msgstr "Satellit"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI-Satellit"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topographisch"
|
msgstr "Topographisch"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Δρόμοι"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Δορυφόρος"
|
msgstr "Δορυφόρος"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI Δορυφόρος"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Τοπογραφικός"
|
msgstr "Τοπογραφικός"
|
||||||
|
|
|
@ -190,8 +190,6 @@ msgstr "Streets"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satellite"
|
msgstr "Satellite"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Esri Satellite"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topographic"
|
msgstr "Topographic"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Stratoj"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satelito"
|
msgstr "Satelito"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI Satelito"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografia"
|
msgstr "Topografia"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Calles"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satélite"
|
msgstr "Satélite"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Satélite ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topográfico"
|
msgstr "Topográfico"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Tänavad"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satelliit"
|
msgstr "Satelliit"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI Satelliit"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topograafiline"
|
msgstr "Topograafiline"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "خیابانها"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "ماهواره"
|
msgstr "ماهواره"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ماهواره ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "توپوگرافی"
|
msgstr "توپوگرافی"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Kadut"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satelliitti"
|
msgstr "Satelliitti"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI Satelliitti"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografinen"
|
msgstr "Topografinen"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Rues"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satellite"
|
msgstr "Satellite"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Satellite ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topographique"
|
msgstr "Topographique"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "सड़कें"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "सैटेलाइट"
|
msgstr "सैटेलाइट"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI सैटेलाइट"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "टोपोग्राफिक"
|
msgstr "टोपोग्राफिक"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Ulice"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satelit"
|
msgstr "Satelit"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI Satelit"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografski"
|
msgstr "Topografski"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Utcák"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Műhold"
|
msgstr "Műhold"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI Műhold"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topográfiai"
|
msgstr "Topográfiai"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Փողոցներ"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Արհեստական արբանյակ"
|
msgstr "Արհեստական արբանյակ"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI Արհեստական արբանյակ"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Տոպոգրաֆիկ"
|
msgstr "Տոպոգրաֆիկ"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Jalan"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satelit"
|
msgstr "Satelit"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Satelit ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografi"
|
msgstr "Topografi"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Strade"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satellitare"
|
msgstr "Satellitare"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Satellitare ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografico"
|
msgstr "Topografico"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "רחובות"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "לוויין"
|
msgstr "לוויין"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "לוויין ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "טופוגרפי"
|
msgstr "טופוגרפי"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "ストリート"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "衛星"
|
msgstr "衛星"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI 衛星"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "地形図"
|
msgstr "地形図"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "거리"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "위성"
|
msgstr "위성"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI 위성"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "지형도"
|
msgstr "지형도"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Gatvės"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Palydovas"
|
msgstr "Palydovas"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI palydovas"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografinis"
|
msgstr "Topografinis"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Ielas"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satelīts"
|
msgstr "Satelīts"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI satelīts"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topogrāfiskais"
|
msgstr "Topogrāfiskais"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Straten"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satelliet"
|
msgstr "Satelliet"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI Satelliet"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografisch"
|
msgstr "Topografisch"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Gater"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satellitt"
|
msgstr "Satellitt"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI Satellitt"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografisk"
|
msgstr "Topografisk"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Ulice"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satelita"
|
msgstr "Satelita"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Esri Satelita"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topograficzna"
|
msgstr "Topograficzna"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Ruas"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satélite"
|
msgstr "Satélite"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Satélite ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topográfico"
|
msgstr "Topográfico"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Străzi"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satelit"
|
msgstr "Satelit"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Satelit ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografic"
|
msgstr "Topografic"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Улицы"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Спутник"
|
msgstr "Спутник"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Спутник ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Топографическая"
|
msgstr "Топографическая"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Ulice"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satelit"
|
msgstr "Satelit"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI Satelit"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografické"
|
msgstr "Topografické"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Ulice"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satelit"
|
msgstr "Satelit"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI satelit"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografsko"
|
msgstr "Topografsko"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Улице"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Сателит"
|
msgstr "Сателит"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI сателит"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Топографска"
|
msgstr "Топографска"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Gator"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satellit"
|
msgstr "Satellit"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI Satellit"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografisk"
|
msgstr "Topografisk"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Mitaa"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Setilaiti"
|
msgstr "Setilaiti"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Setilaiti ya ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografia"
|
msgstr "Topografia"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "ถนน"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "ดาวเทียม"
|
msgstr "ดาวเทียม"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ดาวเทียม ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "ภูมิประเทศ"
|
msgstr "ภูมิประเทศ"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Mga Kalye"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Satelite"
|
msgstr "Satelite"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI Satelite"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topograpiko"
|
msgstr "Topograpiko"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Sokaklar"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Uydu"
|
msgstr "Uydu"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI Uydu"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Topografik"
|
msgstr "Topografik"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Вулиці"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Супутник"
|
msgstr "Супутник"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Супутник ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Топографічна"
|
msgstr "Топографічна"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "Đường phố"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "Vệ tinh"
|
msgstr "Vệ tinh"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "Vệ tinh ESRI"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "Địa hình"
|
msgstr "Địa hình"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "街道"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "卫星"
|
msgstr "卫星"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI 卫星"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "地形图"
|
msgstr "地形图"
|
||||||
|
|
|
@ -184,8 +184,6 @@ msgstr "街道"
|
||||||
msgid "satellite"
|
msgid "satellite"
|
||||||
msgstr "衛星"
|
msgstr "衛星"
|
||||||
|
|
||||||
msgid "esri_satellite"
|
|
||||||
msgstr "ESRI 衛星"
|
|
||||||
|
|
||||||
msgid "topographic"
|
msgid "topographic"
|
||||||
msgstr "地形"
|
msgstr "地形"
|
||||||
|
|
|
@ -1,3 +1,28 @@
|
||||||
|
/* Unable to find ... message */
|
||||||
|
.message {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 20px;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
padding: 10px;
|
||||||
|
background-color: var(--search-bg);
|
||||||
|
border: 1px solid var(--border);
|
||||||
|
border-radius: 5px;
|
||||||
|
box-shadow: 0 0 10px var(--box-shadow);
|
||||||
|
z-index: 1000;
|
||||||
|
width: auto;
|
||||||
|
max-width: 80%;
|
||||||
|
text-align: center;
|
||||||
|
color: var(--text-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Map container */
|
||||||
|
#map {
|
||||||
|
height: calc(100% - 65px);
|
||||||
|
width: 100%;
|
||||||
|
top: 65px;
|
||||||
|
}
|
||||||
|
|
||||||
.leaflet-control-layers-toggle {
|
.leaflet-control-layers-toggle {
|
||||||
background-color: var(--button) !important;
|
background-color: var(--button) !important;
|
||||||
border: 1px solid var(--border) !important;
|
border: 1px solid var(--border) !important;
|
||||||
|
@ -35,10 +60,26 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.leaflet-bar a,
|
.leaflet-bar a,
|
||||||
|
.leaflet-bar a:focus,
|
||||||
|
.leaflet-bar a:active,
|
||||||
.leaflet-bar a:hover {
|
.leaflet-bar a:hover {
|
||||||
background-color: var(--button) !important;
|
background-color: var(--button) !important;
|
||||||
border: 1px solid var(--border) !important;
|
border: 1px solid var(--border) !important;
|
||||||
color: var(--fg) !important;
|
color: var(--fg) !important;
|
||||||
|
box-shadow: 0 2px 12px rgba(0,0,0,0.24) !important;
|
||||||
|
transition: background-color 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-control-layers-toggle,
|
||||||
|
.leaflet-control-layers-expanded {
|
||||||
|
background-color: var(--button) !important;
|
||||||
|
border: 1px solid var(--border) !important;
|
||||||
|
color: var(--fg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-bar a:hover,
|
||||||
|
.leaflet-bar a:focus {
|
||||||
|
background-color: var(--search-select) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.leaflet-popup-content-wrapper,
|
.leaflet-popup-content-wrapper,
|
||||||
|
@ -86,25 +127,8 @@
|
||||||
text-shadow: 1px 1px 2px var(--border) !important;
|
text-shadow: 1px 1px 2px var(--border) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ensuring dark theme compliance */
|
@media only screen and (max-width: 880px) {
|
||||||
@media (prefers-color-scheme: dark) {
|
#map {
|
||||||
|
top: 130px !important;
|
||||||
.leaflet-control-locate,
|
}
|
||||||
.leaflet-control-layers-toggle,
|
|
||||||
.leaflet-bar a,
|
|
||||||
.leaflet-bar a:hover,
|
|
||||||
.leaflet-popup-content-wrapper,
|
|
||||||
.leaflet-popup-tip,
|
|
||||||
.leaflet-control-attribution,
|
|
||||||
.leaflet-control-scale,
|
|
||||||
.leaflet-control-scale-line {
|
|
||||||
background-color: var(--button) !important;
|
|
||||||
border: 1px solid var(--border) !important;
|
|
||||||
color: var(--fg) !important;
|
|
||||||
text-shadow: 1px 1px 2px var(--background-color) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.leaflet-control-attribution a {
|
|
||||||
color: var(--link) !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
|
@ -843,50 +843,6 @@ p {
|
||||||
margin-left: 175px;
|
margin-left: 175px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* MAP */
|
|
||||||
|
|
||||||
.message {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 20px;
|
|
||||||
left: 50%;
|
|
||||||
transform: translateX(-50%);
|
|
||||||
padding: 10px;
|
|
||||||
background-color: var(--search-bg);
|
|
||||||
border: 1px solid var(--border);
|
|
||||||
border-radius: 5px;
|
|
||||||
box-shadow: 0 0 10px var(--box-shadow);
|
|
||||||
z-index: 1000;
|
|
||||||
width: auto;
|
|
||||||
max-width: 80%;
|
|
||||||
text-align: center;
|
|
||||||
color: var(--text-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Map container */
|
|
||||||
#map {
|
|
||||||
height: calc(100% - 60px);
|
|
||||||
width: 100%;
|
|
||||||
top: 60px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Leaflet control buttons */
|
|
||||||
.leaflet-control-locate {
|
|
||||||
background-color: var(--button) !important;
|
|
||||||
border: 1px solid var(--border) !important;
|
|
||||||
color: var(--fg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Leaflet control buttons */
|
|
||||||
.leaflet-control-locate {
|
|
||||||
background-color: var(--button) !important;
|
|
||||||
border: 1px solid var(--border) !important;
|
|
||||||
color: var(--fg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Leaflet attribution control */
|
|
||||||
|
|
||||||
/* Leaflet scale control */
|
|
||||||
|
|
||||||
/* Favicon styling */
|
/* Favicon styling */
|
||||||
.result_header {
|
.result_header {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -911,8 +867,6 @@ p {
|
||||||
box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
|
box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Result link styling */
|
|
||||||
|
|
||||||
/* Result item spacing */
|
/* Result item spacing */
|
||||||
.result_item {
|
.result_item {
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
|
@ -966,13 +920,6 @@ p {
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
.result-path::before {
|
|
||||||
content: "›";
|
|
||||||
margin: 0 4px;
|
|
||||||
opacity: 0.6;
|
|
||||||
} */
|
|
||||||
|
|
||||||
body,
|
body,
|
||||||
h1,
|
h1,
|
||||||
p,
|
p,
|
||||||
|
@ -1312,21 +1259,7 @@ button {
|
||||||
}
|
}
|
||||||
|
|
||||||
.results_settings {
|
.results_settings {
|
||||||
display: flex;
|
display: flex; /* Enable flexbox */
|
||||||
/* Enable flexbox */
|
flex-wrap: wrap; /* Allow elements to wrap onto new lines when necessary */
|
||||||
flex-wrap: wrap;
|
|
||||||
/* Allow elements to wrap onto new lines when necessary */
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Ensuring dark theme compliance */
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
|
|
||||||
.leaflet-control-locate {
|
|
||||||
background-color: var(--button) !important;
|
|
||||||
border: 1px solid var(--border) !important;
|
|
||||||
color: var(--fg) !important;
|
|
||||||
text-shadow: 1px 1px 2px var(--background-color) !important;
|
|
||||||
/* Dark theme shadow adjustment */
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -171,80 +171,94 @@
|
||||||
{{ if .Found }}
|
{{ if .Found }}
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener('DOMContentLoaded', function () {
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
var map = L.map('map').setView([{{ .Latitude }}, {{ .Longitude }}], 13); // Set view to found coordinates
|
var map = L.map('map').setView([{{ .Latitude }}, {{ .Longitude }}], 13);
|
||||||
|
|
||||||
// Base layers
|
// Streets
|
||||||
var streets = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
var streets = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||||
maxZoom: 19,
|
maxZoom: 20,
|
||||||
attribution: '© OpenStreetMap contributors'
|
attribution: '© OpenStreetMap contributors'
|
||||||
});
|
});
|
||||||
|
|
||||||
var satellite = L.tileLayer('https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {
|
// Satellite (correct cords order is: {z}/{y}/{x})
|
||||||
maxZoom: 19,
|
var satellite = L.tileLayer(
|
||||||
attribution: '© OpenStreetMap contributors'
|
'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', {
|
||||||
});
|
maxZoom: 19,
|
||||||
|
attribution: 'Tiles © Esri — Source: Esri, Earthstar Geographics, Maxar, GeoEye, CNES/Airbus DS, USDA, USGS, AeroGRID, IGN, and the GIS User Community'
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
var esriSat = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{x}/{y}', {
|
// Topographic
|
||||||
maxZoom: 19,
|
var topo = L.tileLayer('https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png', {
|
||||||
attribution: 'Tiles © Esri'
|
maxZoom: 17,
|
||||||
});
|
attribution: '© <a href="https://opentopomap.org">OpenTopoMap</a> contributors'
|
||||||
|
});
|
||||||
|
|
||||||
var topo = L.tileLayer('https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png', {
|
var baseMaps = {
|
||||||
maxZoom: 17,
|
"{{ translate "streets" }}": streets,
|
||||||
attribution: '© OpenTopoMap contributors'
|
"{{ translate "satellite" }}": satellite,
|
||||||
});
|
"{{ translate "topographic" }}": topo
|
||||||
|
};
|
||||||
|
|
||||||
var baseMaps = {
|
streets.addTo(map);
|
||||||
"{{ translate "streets" }}": streets,
|
|
||||||
"{{ translate "satellite" }}": satellite,
|
|
||||||
"{{ translate "esri_satellite" }}": esriSat,
|
|
||||||
"{{ translate "topographic" }}": topo
|
|
||||||
};
|
|
||||||
|
|
||||||
streets.addTo(map); // Add default layer
|
// Layer control
|
||||||
|
L.control.layers(baseMaps).addTo(map);
|
||||||
|
|
||||||
// Layer control
|
// SVG Marker
|
||||||
L.control.layers(baseMaps).addTo(map);
|
var svgIcon = L.divIcon({
|
||||||
|
className: "",
|
||||||
|
html: `
|
||||||
|
<svg width="32" height="48" viewBox="0 0 32 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<ellipse cx="16" cy="17" rx="13" ry="13" fill="var(--blue)"/>
|
||||||
|
<path d="M16 48c8-13 13-18 13-31a13 13 0 1 0-26 0c0 13 5 18 13 31z" fill="var(--blue)" stroke="var(--border)" stroke-width="2"/>
|
||||||
|
<circle cx="16" cy="17" r="6" fill="var(--border)" />
|
||||||
|
</svg>
|
||||||
|
`,
|
||||||
|
iconSize: [32, 48],
|
||||||
|
iconAnchor: [16, 47],
|
||||||
|
popupAnchor: [0, -40],
|
||||||
|
});
|
||||||
|
|
||||||
// Marker with passed coordinates
|
// Marker with passed coordinates
|
||||||
L.marker([{{ .Latitude }}, {{ .Longitude }}]).addTo(map)
|
L.marker([{{ .Latitude }}, {{ .Longitude }}], {icon: svgIcon})
|
||||||
.bindPopup('{{ .Query }}');
|
.addTo(map)
|
||||||
|
.bindPopup('{{ .Query }}');
|
||||||
|
|
||||||
// Add scale control
|
// Add scale control
|
||||||
L.control.scale().addTo(map);
|
L.control.scale().addTo(map);
|
||||||
|
|
||||||
// Add custom control for geolocation
|
// Add custom control for geolocation
|
||||||
L.Control.geolocate = L.Control.extend({
|
L.Control.geolocate = L.Control.extend({
|
||||||
onAdd: function (map) {
|
onAdd: function (map) {
|
||||||
var div = L.DomUtil.create('div', 'leaflet-control-locate');
|
var div = L.DomUtil.create('div', 'leaflet-control-locate');
|
||||||
div.title = '{{ translate "locate_me" }}';
|
div.title = '{{ translate "locate_me" }}';
|
||||||
L.DomEvent.on(div, 'click', function () {
|
L.DomEvent.on(div, 'click', function () {
|
||||||
map.locate({ setView: true, maxZoom: 16 });
|
map.locate({ setView: true, maxZoom: 16 });
|
||||||
});
|
});
|
||||||
return div;
|
return div;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
L.control.geolocate = function (opts) {
|
||||||
|
return new L.Control.geolocate(opts);
|
||||||
}
|
}
|
||||||
});
|
|
||||||
|
|
||||||
L.control.geolocate = function (opts) {
|
L.control.geolocate({ position: 'topright' }).addTo(map);
|
||||||
return new L.Control.geolocate(opts);
|
|
||||||
}
|
|
||||||
|
|
||||||
L.control.geolocate({ position: 'topright' }).addTo(map);
|
// Geolocation function
|
||||||
|
function onLocationFound(e) {
|
||||||
|
var radius = e.accuracy / 2;
|
||||||
|
L.marker(e.latlng).addTo(map)
|
||||||
|
.bindPopup("{{ translate "you_are_within" }}" + radius + " {{ translate "meters_from_point" }}").openPopup();
|
||||||
|
L.circle(e.latlng, radius).addTo(map);
|
||||||
|
}
|
||||||
|
|
||||||
// Geolocation function
|
function onLocationError(e) {
|
||||||
function onLocationFound(e) {
|
alert(e.message);
|
||||||
var radius = e.accuracy / 2;
|
}
|
||||||
L.marker(e.latlng).addTo(map)
|
|
||||||
.bindPopup("{{ translate "you_are_within" }}" + radius + " {{ translate "meters_from_point" }}").openPopup();
|
|
||||||
L.circle(e.latlng, radius).addTo(map);
|
|
||||||
}
|
|
||||||
|
|
||||||
function onLocationError(e) {
|
map.on('locationfound', onLocationFound);
|
||||||
alert(e.message);
|
map.on('locationerror', onLocationError);
|
||||||
}
|
|
||||||
|
|
||||||
map.on('locationfound', onLocationFound);
|
|
||||||
map.on('locationerror', onLocationError);
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<script defer src="/static/js/minimenu.js"></script>
|
<script defer src="/static/js/minimenu.js"></script>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue