Why does this ploygon work in ie8 but not firefox

21 views
Skip to first unread message

john Johnson

unread,
Apr 21, 2011, 11:42:11 PM4/21/11
to google-map...@googlegroups.com

geoco...@gmail.com

unread,
Apr 22, 2011, 1:18:50 AM4/22/11
to Google Maps JavaScript API v3
On Apr 21, 8:42 pm, john Johnson <stbtwit...@gmail.com> wrote:
> http://www.skiingthebackcountry.com/mapMRS.php

Doesn't work in Chrome either.

Have you investigated this javascript error?

Uncaught TypeError: Cannot set property 'Ab' of undefined
mapMRS.php:23

It looks to me like your xml is not being parsed correctly in non-IE
browsers, but I don't see why.

-- Larry

geoco...@gmail.com

unread,
Apr 22, 2011, 1:24:15 AM4/22/11
to Google Maps JavaScript API v3
On Apr 21, 10:18 pm, "geocode...@gmail.com" <geocode...@gmail.com>
wrote:
Where did you get your downloadUrl function from? It looks to me like
it is only working for IE browsers (and possibly only for some
versions...)

-- Larry

>
>   -- Larry

john Johnson

unread,
Apr 22, 2011, 9:20:04 AM4/22/11
to google-map...@googlegroups.com
i downloaded it from the google site. maybe I didn't cut and paste it
correctly? But it works here fine:
http://www.skiingthebackcountry.com/maptest.php

> --
> 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 google-map...@googlegroups.com.
> To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

geoco...@gmail.com

unread,
Apr 22, 2011, 9:59:48 AM4/22/11
to Google Maps JavaScript API v3
On Apr 22, 6:20 am, john Johnson <stbtwit...@gmail.com> wrote:
> i downloaded it from the google site. maybe I didn't cut and paste
> it correctly? But it works here fine:

http://www.skiingthebackcountry.com/maptest.php

The problem is the asynchronous nature of XmlHttpRequest...

You need to create the polygon inside the callback function.

-- Larry


>
> On Thu, Apr 21, 2011 at 10:24 PM, geocode...@gmail.com

john Johnson

unread,
Apr 22, 2011, 11:01:51 AM4/22/11
to google-map...@googlegroups.com
Larry,
That worked perfectly thank you so much!!!
Reply all
Reply to author
Forward
0 new messages