Mercurial > dive4elements > gnv-client
diff gnv/ChangeLog @ 984:cfc7bd35ee0b
Set the map to the extent which was sent by the rest-server
gnv/trunk@1167 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 07 Jun 2010 14:52:45 +0000 |
parents | 45ea5feb94c0 |
children | 95004318d1ce |
line wrap: on
line diff
--- a/gnv/ChangeLog Mon Jun 07 12:35:49 2010 +0000 +++ b/gnv/ChangeLog Mon Jun 07 14:52:45 2010 +0000 @@ -1,3 +1,18 @@ +2010-06-07 Tim Englich <tim.englich@intevation.de> + + * src/main/webapp/scripts/viewport.jsp: + Put the bboxx from the mapservice-object and write it to an + javascript-variable. This variable will be used to center the map to + the extend of the data which should be visualized. + + * src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java (getBBoxValue), + src/main/java/de/intevation/gnv/artifactdatabase/objects/map/MapService.java (getBBoxValue): + Added a method for getting the bbox as a string from the mapservice-object. + + * src/main/java/de/intevation/gnv/action/WMSAction.java (execute): + Read the bbox from the retrieved meta-document and out it into the + mapservice-object which is used to represent the WMS in the client. + 2010-06-07 Tim Englich <tim.englich@intevation.de> * src/main/webapp/scripts/viewport.jsp: