For one of your overlays (I didn't try to figure out which one), the
statement on line 65 (sw.y - ne.y) returns a negative number. Internet
explorer apparently does not like you assigning a negative height
value.

Chad Killingsworth

On Mar 16, 8:45 pm, dany0212 <[email protected]> wrote:
> Hello,
>
> I am pretty new to Google Maps API v3.
>
> I have been struggling to fix this issue in IE8 and IE7.
> The issue seems to be related to Overlays I added to color some
> countries on the map.
> I know v3 of Google maps does not support addOverlay() method which
> exists
> in v2. I used the example present on the site for v3 Google maps
> examples for OverlayView code to add my color overlays for countries.
>
> Here is the code I am using to add 
> Overlay:http://www.ez-datasolutions.com/maps/v3/js/overlays.js
>
> I am calling it like this from my main page:
>
> // create overlay
> var overlay = new Overlay(latlonBounds, image, map);
>
> Here is my page:http://www.ez-datasolutions.com/maps/v3/map_example.html
>
> When the page loads in IE8 or IE7 and I start moving the map around I
> get these errors.
> Here are the errors I am getting when viewing my page in IE8 or IE7:
>
> Message: Invalid argument.
> Line: 65
> Char: 3
> Code: 0
> URI:http://ez-datasolutions.com/maps/v3/js/overlays.js
>
> I am not exactly sure why it would be throwing this error at that
> line.
> It does not do that in Firefox or Chrome.
>
> Thanks a lot for your help.

-- 
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.

Reply via email to