Šifrované Google mapy (https)
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sun, 10 Jul 2011 19:55:05 +0200
changeset 184cab9eb4b027a
parent 183 96abaf49fc7a
child 185 60658773f604
Šifrované Google mapy (https)
java/nekurak.net-web/src/java/cz/frantovo/nekurak/servlet/PodnikServlet.java
     1.1 --- a/java/nekurak.net-web/src/java/cz/frantovo/nekurak/servlet/PodnikServlet.java	Sun Jul 10 19:01:03 2011 +0200
     1.2 +++ b/java/nekurak.net-web/src/java/cz/frantovo/nekurak/servlet/PodnikServlet.java	Sun Jul 10 19:55:05 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 "http://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=400x400&sensor=false&markers=size:big|color:green|" + souradnice;
     1.9  			} catch (UnsupportedEncodingException e) {
    1.10  				return null;
    1.11  			}