I added quotes around the values and it now seems to work...
map.setCenter(new GLatLng("-33.922461", "18.416619"), 9,
G_NORMAL_MAP);
On Oct 1, 8:42 am, Marcelo <[email protected]> wrote:
> Look at the error console in Firefox. This is not going to work:
>
> var point = new GLatLng(,);
>
> If the other site is working, the two are obviously NOT identical.
>
> --
> Marcelo -http://maps.forum.nu
> --
>
> On Oct 1, 8:22 am, Homer <[email protected]> wrote:
>
> > Hello All
>
> > I have a development site for which I have registered an API key, my
> > Google Maps implementation works perfectly on this site.
>
> > Once I had uploaded the site to it's new "live" location (and added
> > the new API key registered for this domain), the map API does not
> > display. The below live example of this now throws some JavaScript
> > errors and I'm not sure why.
>
> >http://www.tycune.com/users/map_by_address/14
>
> > And yes, the code is identical on both of these sites - bar the key of
> > obviously.
>
> > Any help would be appreciated.
>
> > Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---