I looked up 34 Boulevard of the Allies, Pittsburgh, PA on
maps.google.com. The marker came up at the correct place. But when I
clicked Link and copied the coordinates into my own API example, the
marker is north of the correct position, appearing in the middle of a
highway. What am I doing wrong? Here's my code:

 <script src="http://maps.google.com/maps?
file=api&amp;v=2&amp;key=ABQIAAAAiBlp0ozzgbvleCFr-bMN9BQoiVod1-
mQsWkMIIhTpsvP3U9C8BSOl_Tc6g9SylcTdgpkE8ihV1Prcw"
      type="text/javascript"></script>
    <script type="text/javascript">

    //<![CDATA[

    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(40.441215,-80.006561), 16);
                var marker = new GMarker(new GLatLng(40.441215,-80.006561));
                map.addOverlay(marker);


      }
    }

    //]]>
    </script>

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