Google Maps GMarker won't appear in correct location

I am modifiying code from the google maps website to try to place a bunch of markers on a map based on an XML page result.
So far, the XML page works properly if i output it to text, the map appears correctly but the Markers will not appear.  I have tried different browsers.
Finally I added a line in the code to manually place a GMarker on the map - it works BUT the location of the Marker is the top left corner of my map, no matter what my map coordinates are.  Also, the marker does not keep its position as i zoom.  It just sits in the corner of my map

The code is supposed to loop through the XML output and place makers on screen.  No markers appear, hence the line to manually add a marker just to make sure i can actually add them.

a snippet of the code:
    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.addControl(new GSmallMapControl());
        map.addControl(new GMapTypeControl());
        map.setCenter(new GLatLng(43.164495, -80.741861), 8);

        // Change this depending on the name of your PHP file
        GDownloadUrl("phpsqlajax_testpageoldphp2.php", function(data) {
          var xml = GXml.parse(data);
          var markers = xml.documentElement.getElementsByTagName("SUPPLIER");
          for (var i = 0; i < markers.length; i++) {
            var SupplierName = markers[i].getAttribute("SupplierName");
            var City = markers[i].getAttribute("City");
            var SiteType = markers[i].getAttribute("SiteType");
            var point = new GLatLng(parseFloat(markers[i].getAttribute("Lat")),
            var SUPPLIER = createMarker(point, SupplierName, City, SiteType);

          } // i for loop
      map.addOverlay(new GMarker(43.1, -80.1419));
        }); // function data
      }  // GBrowserisCompatible
    } //function load

    function createMarker(point, SupplierName, City, SiteType) {
      var SUPPLIER = new GMarker(point, customIcons[Sitetype]);
      var html = "<b>" + SupplierName + "</b> <br/>" + City;
      GEvent.addListener(SUPPLIER, 'click', function() {
      return SUPPLIER;
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:

map.addOverlay(new GMarker(43.1, -80.1419));


map.addOverlay(new GMarker(new GLatLng(43.16, -80.1419)));

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.