【发布时间】:2015-10-04 15:46:45
【问题描述】:
我尝试了以下网址:
http://chart.apis.google.com/chart?chst=d_map_spin&chld=0.7|0|FFAA11|19|_|A
但它只适用于Chrome,IE,奇怪,不起作用,目的是显示一个橙色的标记图标,中间有一个字母A!
我想在 Internet Explorer 中工作,请有人帮助我!
我使用的是 IE 11。
代码如下:
var iconURL = ((selecionado != i) ?
'https://mts.googleapis.com/vt/icon/name=icons/spotlight/spotlight-waypoint-a.png&text=' + String.fromCharCode(65 + l) + '&psize=16&font=fonts/Roboto-Regular.ttf&color=ff333333&ax=44&ay=48&scale=1'
:
'http://chart.apis.google.com/chart?chst=d_map_spin&chld=0.7|0|FFAA11|19|_|' + String.fromCharCode(65 + l)
);
marker[i] = new google.maps.Marker({
position: ((i >= latln.length) ? latLonEmpresa : latln[i]),
map: map,
icon: ((titulo[i]) ? iconURL : '')
});
【问题讨论】:
-
能否请您提供一些您已经尝试过的代码?
-
没有必要贴一段代码,因为问题是要测试的URL 把URL复制粘贴到浏览器中,不需要贴代码 我不明白为什么我的问题标记为否定。
标签: google-maps internet-explorer google-maps-api-3