0
我想用數字更改列表中的字母。名單上的jQuery商店定位器插件信
我用this plugin,有可能嗎?
我試圖改變這種代碼,但不工作
// Letter markers image
letterMarkerImg = {
url: 'https://mt.googleapis.com/vt/icon/name=icons/spotlight/spotlight-waypoint-b.png&text=' + letter + '&psize=16&font=fonts/Roboto-Regular.ttf&color=ff333333&ax=44&ay=48'
};
// Letter markers
marker = new google.maps.Marker({
position : point,
map : map,
icon : letterMarkerImg,
draggable: false
});
感謝。
那麼你從哪裏設置'letter' variable? –