{ "id": "150558", "key": "AC-307", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-11-12T11:53:16.000+0000", "created": "2015-08-20T13:36:33.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2015-11-12T11:53:16.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "When using the Titanium map module in iOS 8 (it probably happens in earlier versions too), click events don't fire for annotation popups.\r\n\r\nThe view's click event fires when you tap the pin itself, but once you tap it and reveal the popup (with title, subtitle, left/right buttons etc), no touch events fire for that popup. This makes the map useless as you can imagine, as you lose the 'list-detail' relationship, and it's not practical to open a detail view when you tap the pin; you need to know what you're tapping first.", "attachment": [], "flagged": false, "summary": "Click event on annotation does not work in ti.map module", "creator": { "name": "robin", "key": "robin", "displayName": "robin", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "robin", "key": "robin", "displayName": "robin", "active": true, "timeZone": "Asia/Kolkata" }, "environment": null, "comment": { "comments": [ { "id": "360658", "author": { "name": "robin", "key": "robin", "displayName": "robin", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Please write any solution for this problem.", "updateAuthor": { "name": "robin", "key": "robin", "displayName": "robin", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-08-21T09:50:42.000+0000", "updated": "2015-08-21T09:50:42.000+0000" }, { "id": "370083", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nWe couldn't reproduce this issue as a bug in our environment. Click event on annotation works as expected.\r\n\r\n*Testing Environment:*\r\nAppcelerator Command-Line Interface, version 5.0.4\r\nAppcelerator Studio, build: 4.3.3.201510212245\r\nTi SDK Version :5.0.2.GA\r\nNode.js Version :0.10.37\r\nMac OS X,Version :10.10.1\r\nJdk version : 1.7.0_80.jdk\r\nsimulator : iPhone 6(8.2)\r\n\r\n[Screenshot|http://postimg.org/image/42142jeuz/]\r\n\r\n*Steps to Test:*\r\n1. Run below code\r\n2. Click on annotation to test\r\n\r\n*Test Case:*\r\n{code}\r\nvar Map = require('ti.map');\r\nvar win = Titanium.UI.createWindow();\r\nvar mountainView = Map.createAnnotation({\r\n\tlatitude : 37.390749,\r\n\tlongitude : -122.081651,\r\n\ttitle : \"Appcelerator Headquarters\",\r\n\tsubtitle : 'Mountain View, CA',\r\n\trightButton : Titanium.UI.iPhone.SystemButton.INFO_LIGHT,\r\n\tleftButton : Titanium.UI.iPhone.SystemButton.DISCLOSURE,\r\n\tmyid : 1\r\n});\r\n \r\nvar mapview = Map.createView({\r\n\tmapType : Map.STANDARD_TYPE,\r\n\tregion : {\r\n\t\tlatitude : 37.390749,\r\n\t\tlongitude : -122.081651,\r\n\t\tlatitudeDelta : 0.01,\r\n\t\tlongitudeDelta : 0.01\r\n\t},\r\n\tanimate : true,\r\n\tregionFit : true,\r\n\tuserLocation : true,\r\n\tannotations : [mountainView]\r\n});\r\nwin.add(mapview);\r\n// Click Event\r\nmapview.addEventListener('click', function(evt) {\r\n\tvar clicksource = evt.clicksource;\r\n alert(clicksource);\r\n});\r\nwin.open();\r\n{code}\r\n\r\nThanks.", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-11-12T11:46:16.000+0000", "updated": "2015-11-12T11:52:58.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }