fixed map layout

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6292 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 16 years ago
parent 2740d9dd79
commit fd668f531b

@ -131,19 +131,17 @@ document.getElementById("Enter").value = "search again";
#(geoinfo)# #(geoinfo)#
:: ::
<div class="searchresults"> <div class="searchresults">
<h4 class="linktitle">Location (click to enlarge)</h4> <h4 class="linktitle">
<p class="snippet"> <img src="http://www.openstreetmap.org/favicon.ico" class="favicon" style="width:16px; height:16px;" alt="" />
<table border="0"><tr><td> Location (click to enlarge)</h4>
<p class="url">
#{loc}# #{loc}#
<div class="thumbcontainer"> <a href="/osm.png?lon=#[lon]#&lat=#[lat]#&zoom=14" class="thumblink" style="float:left;" onclick="return hs.expand(this)">
<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="768" height="768">
<img src="/osm.png?lon=#[lon]#&lat=#[lat]#&zoom=14" width="192" height="192">
</a> </a>
</div>
#{/loc}# #{/loc}#
</tr></td></table>
</p> </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> </div>
#(/geoinfo)# #(/geoinfo)#

@ -70,7 +70,7 @@ public class LibraryProvider {
} }
public static void integrateOpenGeoDB() { 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; if (!ogdb.exists()) return;
geoDB = new OpenGeoDB(ogdb); geoDB = new OpenGeoDB(ogdb);
} }

Loading…
Cancel
Save