1.1 --- a/java/nekurak.net-web/src/java/cz/frantovo/nekurak/servlet/PodnikServlet.java Tue Jul 19 16:30:14 2011 +0200
1.2 +++ b/java/nekurak.net-web/src/java/cz/frantovo/nekurak/servlet/PodnikServlet.java Wed Jul 20 18:55:25 2011 +0200
1.3 @@ -46,7 +46,7 @@
1.4 } else {
1.5 try {
1.6 String souradnice = URLEncoder.encode(p.getSirka() + ", " + p.getDelka(), "UTF-8");
1.7 - return "https://maps.google.com/maps/api/staticmap?size=400x400&sensor=false&markers=size:big|color:green|" + souradnice;
1.8 + return "https://maps.google.com/maps/api/staticmap?size=640x400&sensor=false&markers=size:big|color:green|" + souradnice;
1.9 } catch (UnsupportedEncodingException e) {
1.10 return null;
1.11 }
2.1 --- a/java/nekurak.net-web/web/WEB-INF/tags/nekurak/podnikDetail.tag Tue Jul 19 16:30:14 2011 +0200
2.2 +++ b/java/nekurak.net-web/web/WEB-INF/tags/nekurak/podnikDetail.tag Wed Jul 20 18:55:25 2011 +0200
2.3 @@ -16,21 +16,24 @@
2.4 (možná ještě nebyl proveden jejich výpočet)
2.5 </p>
2.6 </c:when>
2.7 - <c:otherwise>
2.8 - <p>
2.9 + <c:otherwise>
2.10 + <p style="float: left;">
2.11 + <img alt="mapa" src="${fn:escapeXml(mapa)}"/>
2.12 + </p>
2.13 + <div style="margin-left: 660px;">
2.14 + <p>
2.15 Zeměpisná šířka: ${podnik.sirka}<br/>
2.16 Zeměpisná délka: ${podnik.delka}<br/>
2.17 Loc: ${podnik.sirka}, ${podnik.delka}<br/>
2.18 - </p>
2.19 - <p>
2.20 - <img alt="mapa" src="${fn:escapeXml(mapa)}"/>
2.21 - </p>
2.22 - <p>Odkazy na mapu:</p>
2.23 - <ul>
2.24 - <li>
2.25 - <a href="http://www.openstreetmap.org/?lat=${podnik.sirka}&amp;lon=${podnik.delka}&amp;zoom=18">OpenStreetMap.org</a>
2.26 - </li>
2.27 - </ul>
2.28 + </p>
2.29 + <p>Odkazy na mapu:</p>
2.30 + <ul>
2.31 + <li>
2.32 + <a href="http://www.openstreetmap.org/?lat=${podnik.sirka}&amp;lon=${podnik.delka}&amp;zoom=18">OpenStreetMap.org</a>
2.33 + </li>
2.34 + </ul>
2.35 + </div>
2.36 + <div class="cistic"/>
2.37 </c:otherwise>
2.38 </c:choose>
2.39