On Aug 17, 2:00 pm, Jake Munson <[email protected]> wrote:
> Background:
> -This map was working fine until recently, and no code changes have
> occurred for months.
> -http://www.idahopower.com/aboutus/serviceMap/
> -Windows 2003, IIS, ColdFusion 8.
> -Other Google Maps on our site are working fine.
>
> This is a map that displays a service region using an XML file with
> points defining the service area boundaries. As I said before, all
> was working fine until recently (I'm not sure when it stopped
> working). The map now just shows an empty gray background, with the
> google logo and map controls. I have used the Firebug step debugger,
> and all the code works until I call map.centerAndZoom(...).
> Similarly, if I add an alert before and after the centerAndZoom call,
> the first alert fires but the second one doesn't. Any ideas?
>From the upgrade guide:
GMap(container, mapTypes?, width?, height?)
But you are using v2 syntax:
GMap2(container, opts?)
{mapTypes:[G_NORMAL_MAP,G_HYBRID_MAP,G_PHYSICAL_MAP]}
Either remove the "options" or change it to GMap2 (probably best to do
as Marcelo suggests and convert everything to V2)
-- Larry
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---