On Dec 2, 7:25 am, dolsen <[EMAIL PROTECTED]> wrote:
> I am working on a map athttp://dansworkshop.net/map.htmland I am
> getting an error in the Firebug console inside the main.js file for
> the Google Maps API.
>
> The error is:
>
> this.Dg is null
>
> Can anyone see anything that would be causing this? The map worked a
> few weeks ago but now, without any changes, the map no longer works.
You sure you didn't change anything? Like maybe perhaps comment out
the setCenter below:
//map.setCenter(new GLatLng(37.4419, -122.1419), 10);
map.addOverlay(new GTrafficOverlay());
You can't addOverlays to a map which has't been initialized. The first
map.setCenter call initializes the map:
http://code.google.com/apis/maps/documentation/introduction.html#Initializing_the_Map
.
-- Larry
> Any help is appreciated.
>
> Once again, the map can be found athttp://dansworkshop.net/map.html.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---