# HG changeset patch
# User František Kučera
# Date 1311180925 -7200
# Node ID 19128e9f7fb1b581fba8c6b11e0aea40381e38da
# Parent 68703e6baff0f56b70ce48c2dea94f1e0024bcc3
širší mapa + souřadnice a odkaz na OSM vedle ní
diff -r 68703e6baff0 -r 19128e9f7fb1 java/nekurak.net-web/src/java/cz/frantovo/nekurak/servlet/PodnikServlet.java
--- a/java/nekurak.net-web/src/java/cz/frantovo/nekurak/servlet/PodnikServlet.java Tue Jul 19 16:30:14 2011 +0200
+++ b/java/nekurak.net-web/src/java/cz/frantovo/nekurak/servlet/PodnikServlet.java Wed Jul 20 18:55:25 2011 +0200
@@ -46,7 +46,7 @@
} else {
try {
String souradnice = URLEncoder.encode(p.getSirka() + ", " + p.getDelka(), "UTF-8");
- return "https://maps.google.com/maps/api/staticmap?size=400x400&sensor=false&markers=size:big|color:green|" + souradnice;
+ return "https://maps.google.com/maps/api/staticmap?size=640x400&sensor=false&markers=size:big|color:green|" + souradnice;
} catch (UnsupportedEncodingException e) {
return null;
}
diff -r 68703e6baff0 -r 19128e9f7fb1 java/nekurak.net-web/web/WEB-INF/tags/nekurak/podnikDetail.tag
--- a/java/nekurak.net-web/web/WEB-INF/tags/nekurak/podnikDetail.tag Tue Jul 19 16:30:14 2011 +0200
+++ b/java/nekurak.net-web/web/WEB-INF/tags/nekurak/podnikDetail.tag Wed Jul 20 18:55:25 2011 +0200
@@ -16,21 +16,24 @@
(možná ještě nebyl proveden jejich výpočet)
-
-
+
+
+
+
+
+
Zeměpisná šířka: ${podnik.sirka}
Zeměpisná délka: ${podnik.delka}
Loc: ${podnik.sirka}, ${podnik.delka}
-
-
-
-
-
Odkazy na mapu:
-
+
+
Odkazy na mapu:
+
+
+