Sorry to post again, but I need advice on this problem asap from one of the mapviewer gurus, any help would be fantastic.
there seems to be a problem with ThemebasedFOI (when the objects are rendered as single-fois) in Internet Explorer 9 (IE9) . When moving the mouse over the map, the "hand"-cursor occurs everytime you enter the objects bounding boxes instead of its geometry bounds.
You can reproduce this behavior in mapviewer samples (e.g. Sample #5 "Theme Based FOI layer visibility" - Layer: "County population").
Currently we are using Mapviewer Ver11_1_1_5_B110527 as production version. As far as we know, the behavior is the same in later builds...
Does anyone knows whether this is a known issue or when/if it will be fixed?
in response to: grueningd Reply
I have the same problem. Our workaround up till now has been to uninstall ie9 and go back to ie8, however with the new pcs now coming with ie9 we cant do that. On a side note, with chrome and firefox and the same code, the foi doesnt become clickable at all - i.e. the cursor never changes to a hand and my on click event isnt fired. It would be great if someone could so what to do to get it working (in any of the browsers mentioned).
I have found a workaround for this in google chrome (I havent tested firefox). If the theme has no info columns then it seems that any events attached to the themes cannot be fired. So I added a dummy info column to my theme and now the events work (such as on click, mouse move). This seems to be with the caveat that only one theme rendered at a time can have events, if I have two themes then i have to setVisible(false) on one for that theme to have events.
The reason for this is that PNG transparency is not correctly managed by IE and it handled by using DXImageTransform.Microsoft.AlphaImageLoader. MapViewer is generating a code that uses is MS IE Specific function to load transparent PNGs correctly. http://support.microsoft.com/kb/294714
Sadly enough with MS IE9 this method is depricated. http://msdn.microsoft.com/en-us/library/ms532969(v=VS.85).aspx
There seems to be these options here:
1. Downgrade to MS IE8. To be honest, I think it is not a real option, since most companies have an upgrade path / policy, keeping MS IE8 would mean a security issue.
3. Hope that Oracle will come out soon with a patch for this MS IE issue.