Hello Chad,

Thanks a lot for replying.

I think I figured out the error on Line:65, it seems one of my lat/
long boundaries for one of the overlays was incorrect.
It seems Firefox did not care for it, GoogleChrome showed overlay with
incorrect position and IE gave that error.
Fixing that lat/long boundary fixed that error.
Thanks a lot for your help.

But it seems while that error is gone, IE is still giving error when
moving maps around and getting to the edge of the overlay to be re-
drawn in another position.
Looking at this same page, but only with one overlay Australia:

http://ez-datasolutions.com/maps/v3/map_example1overlay.html

If you move the map say from right to left and as Australia overlay
about to be re-drawn on another position, it will give an error, now
for Line: 64

Very strange, can't seem to understand what else I could be doing
wrong here.

If you see anything else wrong here, I would really appreciate it.

Thanks again for your help.


Daniel


On Mar 16, 10:30 pm, Chad Killingsworth
<[email protected]> wrote:
> 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