[mapguide-users] [Ajax viewer Bug] "offset" in displayed image

Ismael Cams mapguide2007 at gmail.com
Wed Aug 8 08:57:28 EDT 2007


Hello David,

this seems to be a problem similar I reported about a week ago
(http://www.nabble.com/forum/ViewPost.jtp?post=11809953&framed=y&skin=16610)

When you leave the properties pane enabled the offset is correct.

I did not post it as a bug until now.

Kind regards,
Ismaël


David Hequet wrote:
> 
> 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#a12052557
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list