Commit 85e35cd6 authored by Matti Pulkkinen's avatar Matti Pulkkinen
Browse files

renamed the string for layer selection

parent 2fac1545
......@@ -199,7 +199,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() {
......@@ -209,7 +209,7 @@ public class MapDialog extends JFrame {
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="
+ (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();
......
Supports Markdown
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