Commit ebeca0cc authored by Matti Pulkkinen's avatar Matti Pulkkinen
Browse files

increased image size

parent 1a26322a
......@@ -120,7 +120,7 @@ public class MapDialog extends JFrame {
// LATAAVALLA RIVILLÄ
this.imageLabel.setIcon(new ImageIcon(new URL("http://demo.mapserver.org/cgi-bin/wms?SERVICE="
+ "WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=-180,-90,180,90&SRS="
+ "EPSG:4326&WIDTH=953&HEIGHT=480&LAYERS=WMS_server&STYLES="
+ "EPSG:4326&WIDTH=1280&HEIGHT=720&LAYERS=WMS_server&STYLES="
+ "&FORMAT=image/png&TRANSPARENT=true")));
this.add(this.imageLabel, BorderLayout.EAST);
......@@ -184,7 +184,7 @@ public class MapDialog extends JFrame {
// TODO: coordinate updates
url = new URL("http://demo.mapserver.org/cgi-bin/wms?SERVICE="
+ "WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=-180,-90,180,90&SRS="
+ "EPSG:4326&WIDTH=953&HEIGHT=480&LAYERS=" + ss + "&STYLES="
+ "EPSG:4326&WIDTH=1280&HEIGHT=720&LAYERS=" + ss + "&STYLES="
+ "&FORMAT=image/png&TRANSPARENT=true");
} catch (MalformedURLException e) {
e.printStackTrace();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment