Ah, yes. IntensityMap behaves differently than ImageCharts in that respect. I think the best suggestion would be to move to GeoChart<http://code.google.com/apis/chart/interactive/docs/gallery/geochart.html>. Give it a try!
On Tue, Sep 6, 2011 at 6:29 PM, Oliver Schmidt <[email protected]>wrote: > The SSL seems to work for the ImageCharts but not for the intensity map > visualiztion API. It looks like this must be some type of wrapper to the > image chart API but when you call the intensity map through the > visualization it is not protocal independent because it will return as http > when called from https, I'm using this to load the google API with https > :<script type='text/javascript' src='https://www.google.com/jsapi > '></script> > > and using the google.load('visualization', '1', { 'packages': > ['intensitymap'] }); > package returns the imagechart as http. Then I get the little yellow > shield in the address bar of Chrome warning that something came from an > insecure source (being the intensity map: background-image: url( > http://chart.googleapis.com/ <http://chart.googleapis.com/chart?cht=t&> > ect...) > > The work around I've used is to strip off the s from the https in a > javascript function once the data is returned from google. This works for > now but it would be nice if the API returned it as https. > > Thanks Jinji, > > I'm new to the google groups so I will attached the > previous conversation below with my initial comment and your response: > > > For ImageCharts, the URL is protocol-independent (starts with "//", without > the "http:" or "https:" prefix), which means the protocol is the same as the > protocol in which the page was loaded, and not the protocol in which jsapi > was loaded. > > BTW, in the future send the question to the group and not to anyone > directly. We don't always monitor these addresses. > > On Wed, Aug 31, 2011 at 11:26 PM, Jeff <[email protected]> wrote: > >> This is not fixed for the intensity map API. When calling the API >> over https://www.google.com/jsapi it still returns as http, for >> example right click on chrome and inspect the element you see this on >> the intensity map: background-image: url(http://chart.googleapis.com/ >> chart?cht=t& <http://chart.googleapis.com/chart?cht=t&> (followed >> by the rest of the chart data... is there >> some special parameter that needs to be entered for the visualization >> API to know to return it's chart images as HTTPS? It seems to work on >> the bar charts and gauges, even the annotated timeline but no luck on >> the intensity map. > > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization 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-visualization-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Visualization 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-visualization-api?hl=en.
