Commit 58cf41ae authored by Matti Pulkkinen's avatar Matti Pulkkinen
Browse files

Merge branch 'master' into coordinate-shift

parents e2539ad4 85e35cd6
......@@ -204,7 +204,7 @@ public class MapDialog extends JFrame {
s = s.substring(0, s.length() - 1);
}
final String ss = s.toString();
final String layerSelection = s.toString();
new Thread() {
@Override
public void run() {
......@@ -216,7 +216,7 @@ public class MapDialog extends JFrame {
+ MapDialog.this.southernLatitude + "," + MapDialog.this.westernLongitude + ","
+ MapDialog.this.northernLatitude + "&SRS=" + "EPSG:4326&WIDTH="
+ (MapDialog.this.getWidth() - MapDialog.this.leftPanel.getWidth()) + "&HEIGHT="
+ MapDialog.this.getHeight() + "&LAYERS=" + ss + "&STYLES="
+ MapDialog.this.getHeight() + "&LAYERS=" + layerSelection + "&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