Hi Mike,

I've changed the "townSelect" to "deviceOption", but the error is
still showing - I've commented out the line in the meantime.

I've also set the timeout to 5000 miliseconds (window.setTimeout
("refreshmap()",5000), but the problem is still occuring...

ANy other ideas?

On Mar 15, 1:48 pm, Mike Williams <[email protected]> wrote:
> It might possibly help to fix those Javascript errors. They might not be
> connected, but it's worth a try.
>
> There's one here:
>    document.getElementById("townSelect").checked=true
> caused by the fact that there is no "townSelect" element
>
> There's one here:
>    map.panTo(new GLatLng(mapLat, mapLng),15);
> caused by the fact that you sometimes call refreshMap() before you've
> created your map. I can take more than 1000 miliseconds for
> google.load() to load the map, so it would be better to put the
> refeshMap() call at the end of the callback.
>
> Also: It's not a good idea to use v2.x for live sites.
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to