Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fixed map layout

orbiterfd668f531b43
diff --git a/htroot/yacysearch.html b/htroot/yacysearch.html
index f1ffa86aa..7247aaf00 100644
--- a/htroot/yacysearch.html
+++ b/htroot/yacysearch.html
@@ -131,19 +131,17 @@ document.getElementById("Enter").value = "search again";
#(geoinfo)#
::
<div class="searchresults">
- <h4 class="linktitle">Location (click to enlarge)</h4>
- <p class="snippet">
- <table border="0"><tr><td>
+ <h4 class="linktitle">
+ <img src="http://www.openstreetmap.org/favicon.ico" class="favicon" style="width:16px; height:16px;" alt="" />
+ Location (click to enlarge)</h4>
+ <p class="url">
#{loc}#
- <div class="thumbcontainer">
- <a href="/osm.png?lon=#[lon]#&lat=#[lat]#&zoom=14" class="thumblink" onclick="return hs.expand(this)">
- <img src="/osm.png?lon=#[lon]#&lat=#[lat]#&zoom=14" width="192" height="192">
+ <a href="/osm.png?lon=#[lon]#&lat=#[lat]#&zoom=14" class="thumblink" style="float:left;" onclick="return hs.expand(this)">
+ <img src="/osm.png?lon=#[lon]#&lat=#[lat]#&zoom=14" width="768" height="768">
</a>
- </div>
#{/loc}#
- </tr></td></table>
</p>
- <p class="urlinfo">Geographic information provided by <a href="http://opengeodb.hoppe-media.com">OpenGeoDB</a>, Map provided by <a href="http://www.openstreetmap.org">OpenStreetMap</a></p>
+ <p class="urlinfo" style="clear:left;">Geographic information provided by <a href="http://opengeodb.hoppe-media.com">OpenGeoDB</a>, Map provided by <a href="http://www.openstreetmap.org">OpenStreetMap</a></p>
</div>
#(/geoinfo)#
diff --git a/source/de/anomic/data/LibraryProvider.java b/source/de/anomic/data/LibraryProvider.java
index 51bdb3bce..a08c54af9 100644
--- a/source/de/anomic/data/LibraryProvider.java
+++ b/source/de/anomic/data/LibraryProvider.java
@@ -70,7 +70,7 @@ public class LibraryProvider {
}
public static void integrateOpenGeoDB() {
- File ogdb = new File(dictSource, "opengeodb-0.2.5a-UTF8-sql.gz");
+ File ogdb = new File(dictSource, "opengeodb-0.2.5a-UTF8-sql.gz"); // may also be named opengeodb-02513_2007-10-02.sql.gz
if (!ogdb.exists()) return;
geoDB = new OpenGeoDB(ogdb);
}