From: Wigger T. <but...@ho...> - 2011-03-03 22:30:38
|
Dear List, In my web application using gwt-openlayers 0.5 and GWT 2.04 I am experiencing a rather annoying problem. When I initially load a WMS, it is visualized without a problem. When I zoom, however, the WMS is shifted, most of the time to the south east. After every pan/ zoom action the offset is difference. When I use firebug in firefox I see can see that the DIV that contains the image has a top and left offset as can be seen below: <div style="overflow: hidden; position: absolute; z-index: 1; left: 218px; top: 96px; width: 1004px; height: 496px;"><img id="OpenLayersDiv499" style="width: 1004px; height: 496px; position: relative;" class="olTileImage" src="xxxxxx/deegree/services?FORMAT=image%2Fpng&TRANSPARENT=TRUE&LAYERS=Lakes%20Rwanda&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&_OLSALT=0.7358005342568256&BBOX=3186029.3265993,-283703.63671876,3493000.4269411,-132052.57519532&WIDTH=1004&HEIGHT=496"></div> The image that is returned by Deegree is fine by the way. Does anyone have an idea what is going wrong and what I can do to solve it? Thanks in advance! Best,Willem |