On Jan 7, 8:12 am, Paul Kulchenko <[email protected]> wrote: > Berry, > > I don't get any errors in IE7, but I don't see any changes either: > states don't change their colors. This may be related to the fact that > buttons at the top of the page don't change their states (view0 is not > selected as it is in FF). I haven't had a chance to look deeper yet. > > Paul.
Hi Paul, Thanks for looking at it. I am seeing the little yellow icon in the lower left corner of the screen. If I click it, it displays an error at char 3 of line 397 (object does not support the method) I believe. If I reposition my code, the error does not change. I assume it is in the API which is obfuscated thus difficult to examine. I have made several changes to deal with the state of Alaska. Some small islands are in the Eastern Hemisphere. Dragging the map across the International Date Line was not working. I have also encountered the one pixel center shift you described a couple of months ago. It was causing polys to be rebuilt too often. I am using fixed point arithmetic with shifting. Google is using floating point arithmetic with rounding. To reconcile the differences, I am passing the results back to Google in a "LatLng" object to recalculate "fromLatLngToDivPixel" with an adjusted center. It is a little extra work but it eliminates the occasional discrepency. Perhaps Ben can confirm whether the Internet Explorer error is my fault or a bug in the API. The code I am using is very similar to "excanvas" & to the API. The main difference is the way the DOM is built. I am using "document.createElement()". "excanvas" uses "object.insertAdjacent Html()". For a lot of polys, I believe direct manipulation of the DOM will be quicker. I suspect it is a naming conflict. Perhaps I cannot use the "v" namespace safely. I have no clue what is causing the error. I am desparate for some direction from Google. Berry
-- 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.
