On Oct 3, 12:27 pm, Karthik Krishnan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> As a Google Map API newbie, I am trying to create a world map with
> icons for some specific cities. I have specified the latitudes and
> longitudes but nothing is shown.
>
> When I load the page, I don't see anything, besides the magnifying
> bar. I have no idea what I am doing wrong.
>
> The site link is here
>
> http://www.geocities.com/kartik_krishnanand/GMap_Demo.html
>

map.setCenter(0, 0, 3); is incorrect.
map.setCenter takes a GLatLng as the first argument.  It should be:
map.setCenter(new GLatLng(0, 0), 3);

  -- 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to