Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Teemu Auvinen
dtek1066-toinen-ryhmis
Commits
3e5761a0
Commit
3e5761a0
authored
Jan 01, 2018
by
Matti Pulkkinen
Browse files
renamed coordinatefields
parent
58cf41ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fi/utu/dtek1066/MapDialog.java
View file @
3e5761a0
...
...
@@ -114,8 +114,8 @@ public class MapDialog extends JFrame {
private
Timer
resizeTimer
;
private
int
e
a
sternLongitude
=
-
180
;
private
int
w
esternLongitude
=
180
;
private
int
w
esternLongitude
=
-
180
;
private
int
e
a
sternLongitude
=
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
.
e
a
sternLongitude
+
","
+
MapDialog
.
this
.
southernLatitude
+
","
+
MapDialog
.
this
.
w
esternLongitude
+
","
+
"WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX="
+
MapDialog
.
this
.
w
esternLongitude
+
","
+
MapDialog
.
this
.
southernLatitude
+
","
+
MapDialog
.
this
.
e
a
sternLongitude
+
","
+
MapDialog
.
this
.
northernLatitude
+
"&SRS="
+
"EPSG:4326&WIDTH="
+
(
MapDialog
.
this
.
getWidth
()
-
MapDialog
.
this
.
leftPanel
.
getWidth
())
+
"&HEIGHT="
+
MapDialog
.
this
.
getHeight
()
+
"&LAYERS="
+
layerSelection
+
"&STYLES="
...
...
Write
Preview
Supports
Markdown
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