[mapguide-users] [Ajax viewer Bug] "offset" in displayed image
David Hequet
david.hequet at free.fr
Wed Aug 8 06:02:38 EDT 2007
Hi,
There is a bug in displaying map image in the Ajax Viewer:
Look at this screenshot, the image is cut on the top.
http://www.nabble.com/file/p12050259/MGVIEWER_OFFSETERROR.jpg
this "offset" is really anoying:
- the image is not well displayed
- but the mouse coordinates are catched without the offset: it cause bad
selection : you click a polygone, it take the polygone 10px lower. Sames for
tooltips.
- This bug appears only when the property pane is not showed on the
WebLayout and the browser size is higher than (around) 500px or 600px
- It disapears when you resize the window.
- I tried on firefox and IE 6
I modified the ajaxmappane.tmpl by Adding a call to ResizeMapSpace() in the
delayedInit() Method like this:
...
GetPropertyCtrl().SetProperties(0);
ResizeMapSpace();
mapInit = true;
parent.OnMapLoaded();
...
It's not very good but there is no "offset" bug after this.
David
--
View this message in context: http://www.nabble.com/-Ajax-viewer-Bug--%22offset%22-in-displayed-image-tf4235307s16610.html#a12050259
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list