On 9 April 2011 01:18, Andre Tannus <[email protected]> wrote: > > the Map's 'mousemove' and 'click' events show a different lat/lon coodrinate > pair, off my about 0.05 degrees at least. The further "right" and "down" on > the map the bigger the click/hover disparity. > If I change the tag to EmulateIE7, the problem goes away... I am under the > belief that these compatibility tags are used to prevent IE from going into > quirks mode. Nonetheless, the app works fine on my friend's laptop with IE8 > on XP.
Are you running a high-res screen at 120dpi instead of 96dpi? There have been issues in the past with that, particularly with VML shapes (which of course are IE only). What appears to happen is that the OS reports a screen coordinate which is larger than the API is expecting, so it miscalculates the geographic coordinates as being larger numbers than they should be, which are then reflected on the map. There isn't a way of detecting the 120/96dpi setting, so it uses 96 as that's by far the most likely. However, the fix would appear to be to emulate IE7. IE8 breaks a lot of things. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
