First off, this is my first day with the API, so it's possible I've
missed something.

However, based on all information I could find, my code should be
working. I am pasting the part of my code that contains the problem
area.

The problem: My marker and pop-up bubble are not displaying on the
map.

This is based off of a solution I found on an external website, which
seemed to work for them, but does not work for me.


var AEmap = new GMap2(document.getElementById("AEmap"));

        AEmap.addControl(new GSmallMapControl());
        AEmap.addControl(new GMapTypeControl());
        AEmap.setCenter(new GLatLng(42.766871,-84.543073), 17);
        AEmap.setMapType(G_HYBRID_MAP);
        var drive = new GLatLang(42.766871,-84.543073);
        AEmap.addOverlay(new GMarker(drive));
        AEmap.openInfoWindowHtml(drive, "<strong>AE Printers and Mailers</
strong>");


View the map here:
http://www.aeprinters.com/ALPHA_TEST/content/map.php

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