> What step am I missing here?

The first step is reading the posting guidelines. It asks that a link
of the problematic page be provided so that these good folks can try
to help-out with the problem(s)..  rather than pull out the tarot
cards.


On Sep 12, 1:59 pm, dbee <[EMAIL PROTECTED]> wrote:
> So I've loaded Google Maps using the way outlined in the Google AJAX
> API Loader page:http://code.google.com/apis/maps/documentation/
>
> <pre>
> google.load("maps", "2.x");
>
> google.setOnLoadCallback(gooInitialize);
>
> function gooInitialize() {
>         var map = new google.maps.Map2(document.getElementById("map"));
>         map.addControl(new GSmallMapControl());
>
>         map.setCenter(new google.maps.LatLng(37.4419, -122.1419), 13);
>
> }
>
> </pre>
>
> So far so good...but I'm trying to create a latlng like this:
>         var pt = new google.maps.LatLng(lati, longi);
>         var m = new google.maps.GMarker(pt);
>
> And I get this error using Firebug:
> google.maps.LatLng is not a constructor
>
> What step am I missing here?
--~--~---------~--~----~------------~-------~--~----~
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