Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Server maintenance on Tue 31.5. at 12:00.
Open sidebar
Teemu Auvinen
dtek1066-toinen-ryhmis
Commits
85e35cd6
Commit
85e35cd6
authored
Jan 01, 2018
by
Matti Pulkkinen
Browse files
renamed the string for layer selection
parent
2fac1545
Changes
1
Show whitespace changes
Inline
Side-by-side
src/fi/utu/dtek1066/MapDialog.java
View file @
85e35cd6
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment