]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/search.html
Reverse map: show search position (red circle) also when no search results
[nominatim-ui.git] / dist / search.html
index 95d679f522f51eb8fa3e7323f1528e56d61d8afd..5e19ab7e1bee041cedac061913f08e7d17377ee3 100644 (file)
@@ -4,15 +4,22 @@
   <meta charset='utf-8'>
   <meta name='viewport' content='width=device-width,initial-scale=1'>
 
-  <title>OpenStreetMap Nominatim</title>
+  <title>Nominatim Demo</title>
 
-  <link rel="icon" type="image/png" href="images/favicon-194x194.png" sizes="194x194" />
-  <link rel="icon" type="image/png" href="images/favicon-16x16.png" sizes="16x16" />
+  <link rel="icon" type="image/png" href="theme/favicon-194x194.png" sizes="194x194">
+  <link rel="icon" type="image/png" href="theme/favicon-32x32.png" sizes="32x32">
 
-  <link rel='stylesheet' href='global.css'>
   <link rel='stylesheet' href='build/bundle.css'>
+  <link rel='stylesheet' href='theme/style.css'>
 
-  <script src='config.js'></script>
+  <script src='config.defaults.js'></script>
+  <script src='theme/config.theme.js'></script>
+
+  <script>
+    if (Nominatim_Config.Reverse_Only) {
+      window.location.pathname = window.location.pathname.replace('search.html', 'reverse.html');
+    }
+  </script>
   <script defer src='build/bundle.js'></script>
 </head>