Hi

just a quick question which url should be used to access charts

https://www.google.com/chart?chst=d_map_pin_letter&chld=12|DF675D

or

http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=12|FF0000|000000

my problem is, first one is available on ssl but chart does not appear
unless u have them in ur cache

second one is working fine but it is not available on https. I have
google the issue of caching of chart and i found multiple thread on
this group like

http://groups.google.com/group/google-chart-api/browse_thread/thread/5f76b59b8fa18313

but can't find a solution

here is my code.

function createTabbedMarker(markerOptions,point,html1)
{
        var marker = new GMarker(point,markerOptions);
    GEvent.addListener(marker, "mouseover", function()
        {
         marker.openInfoWindowTabsHtml([new
GInfoWindowTab('Info',html1)]);
        });
        return marker;
}

function draw (points,html)
{
        var baseIcon = new GIcon(G_DEFAULT_ICON);
        baseIcon.shadow = "https://www.google.com/chart?
chst=d_map_pin_shadow";
        baseIcon.iconSize = new GSize(20, 34);
        baseIcon.shadowSize = new GSize(37, 34);
        baseIcon.iconAnchor = new GPoint(9, 34);
        baseIcon.infoWindowAnchor = new GPoint(9, 2);

        for (i=0;i<points.length;i++)
        {
        var point = points[i];
        var infoWindow = html[i];
        var markerOptions;
        var redIcon = new GIcon(baseIcon);
        var index = i + 1;
        redIcon.image = "https://www.google.com/chart?
chst=d_map_pin_letter&chld="+ index +"|DF675D";
                markerOptions = { icon:redIcon };
        var marker = createTabbedMarker(markerOptions,point,infoWindow);
                map.addOverlay(marker);
        }
}

here points is array of GLatLng,

plz help me out i need chart pins with number on ssl

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