one thing I realized is that the FOI-movement is working for IE8 and all tested versions of firefox. So the problem is reproduceable at least in IE9 and IE10
1 person found this helpful
There is no MOUSE_UP event with our FOI object. After you register your MOUSE_DOWN with your FOI that has been added to the map, you may refer to the below sample code to make your FOI draggable on the map, the below code can also be run with IE9.
var mouseLoc = mapview.getMouseLocation();
thanks for reply!
Yes, your solution works. In fact my implementation is like the way you are describing it. I just
mixed up the registration target of the MOUSE_UP listener in my upper workflow description. I've build a small sample where the foi dragging works in IE9. I think there are some kind of site effects in my more complex application causing this faulty behavior. I will try to reproduce the error in that sample page...
For the sake of completeness:
I finally found what was causing the error: In the HTML-<head> section there was an meta-tag like this:
<meta http-equiv="X-UA-Compatible" content="IE=8; charset=utf-8;" />
I change it to
<meta http-equiv="X-UA-Compatible" content="IE=9; charset=utf-8;" />
I've no idea why but that does the trick.