What you want to do is definitely possible and tested your javascript
code locally and it works fine. Here's my version:

      function createMarker(point,html,icon) {
        var marker = new GMarker(point,icon);
        GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(html);
        });
        return marker;
      }

var redA = new GIcon(G_DEFAULT_ICON);
redA.image = 'http://www.google.com/chart?chst=d_map_pin_letter&chld=A|
FF0000|000000';
redA.iconSize = new GSize(12, 20);
redA.shadowSize = new GSize(22, 20);
redA.iconAnchor = new GPoint(6,20);

var point = new GLatLng(43.85,-79.0);
var marker = createMarker(point,'Info Window Text Goes Here', redA)
map.addOverlay(marker);


Good luck,
K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Chart 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-chart-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to