Titanium map annoyation點擊事件: android無法觸發
簡單來說,annotation點擊在
http://developer.appcelerator.com/question/117350/annotation-click-events-not-working-on-android
http://www.pastie.org/1756264
mapview.addEventListener('click', function(e) {
if(e.clicksource == "title" || e.clicksource == "subtitle") {
var win1 = Titanium.UI.createWindow({
url:"club.js",
club_id:e.annotation.myid,
title:e.annotation.title
});
Titanium.UI.currentTab.open(win1,{animated:true});
}
});
//補充
http://developer.appcelerator.com/question/116634/map-annotation-not-showing-right-left-buttonview
沒有留言:
張貼留言