Označení místa na mapě.
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat Jan 15 01:24:00 2011 +0100 (2011-01-15)
changeset 172f0852ef58889
parent 171 e619057bad66
child 173 2b458ac09044
Označení místa na mapě.
java/nekurak.net-web/src/java/cz/frantovo/nekurak/web/Detail.java
     1.1 --- a/java/nekurak.net-web/src/java/cz/frantovo/nekurak/web/Detail.java	Sat Jan 15 01:12:36 2011 +0100
     1.2 +++ b/java/nekurak.net-web/src/java/cz/frantovo/nekurak/web/Detail.java	Sat Jan 15 01:24:00 2011 +0100
     1.3 @@ -25,7 +25,7 @@
     1.4  		} else {
     1.5  			try {
     1.6  				String souradnice = URLEncoder.encode(p.getSirka() + ", " + p.getDelka(), "UTF-8");
     1.7 -				return "http://maps.google.com/maps/api/staticmap?size=400x400&sensor=false&center=" + souradnice;
     1.8 +				return "http://maps.google.com/maps/api/staticmap?size=400x400&sensor=false&markers=size:big|color:green|" + souradnice;
     1.9  			} catch (UnsupportedEncodingException e) {
    1.10  				return null;
    1.11  			}