Commit 3e5761a0 authored by Matti Pulkkinen's avatar Matti Pulkkinen
Browse files

renamed coordinatefields

parent 58cf41ae
......@@ -114,8 +114,8 @@ public class MapDialog extends JFrame {
private Timer resizeTimer;
private int easternLongitude = -180;
private int westernLongitude = 180;
private int westernLongitude = -180;
private int easternLongitude = 180;
private int southernLatitude = -90;
private int northernLatitude = 90;
......@@ -212,8 +212,8 @@ public class MapDialog extends JFrame {
try {
// TODO: coordinate updates
url = new URL("http://demo.mapserver.org/cgi-bin/wms?SERVICE="
+ "WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=" + MapDialog.this.easternLongitude + ","
+ MapDialog.this.southernLatitude + "," + MapDialog.this.westernLongitude + ","
+ "WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=" + MapDialog.this.westernLongitude + ","
+ MapDialog.this.southernLatitude + "," + MapDialog.this.easternLongitude + ","
+ MapDialog.this.northernLatitude + "&SRS=" + "EPSG:4326&WIDTH="
+ (MapDialog.this.getWidth() - MapDialog.this.leftPanel.getWidth()) + "&HEIGHT="
+ MapDialog.this.getHeight() + "&LAYERS=" + layerSelection + "&STYLES="
......
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