{ "id": "120663", "key": "AC-2340", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-10-10T18:53:45.000+0000", "created": "2013-10-01T09:44:57.000+0000", "labels": [ "annotations", "mapView" ], "versions": [], "issuelinks": [ { "id": "32990", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "120985", "key": "TIMOB-15448", "fields": { "summary": "iOS: No event generated on click of map annotation title or subtitle", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:21.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I have an annotation added to a map view:\r\n var annotation = Titanium.Map.createAnnotation( {\r\n longitude: longitude,\r\n latitude: latitude,\r\n animate: true,\r\n pincolor: Titanium.Map.ANNOTATION_RED,\r\n leftButton: '/images/pin_star_gps.png',\r\n rightButton: '/images/disclosure.png',\r\n title: \"Click to select\",\r\n subtitle: \"hehe\",\r\n myid: 1,\r\n } );\r\n\r\n $.mapview.addAnnotation( annotation );\r\n\r\n $.mapview.addEventListener( 'click', function( evt ) {\r\n Ti.API.info( evt.annotation );\r\n var annotation = evt.annotation;\r\n var clickSource = evt.clicksource;\r\n\r\n switch(clickSource) {\r\n \tcase 'title':\r\n \tcase 'subtitle':\r\n Ti.API.info('title');\r\n break;\r\n\r\n case 'rightButton':\r\n Ti.API.info('right button');\r\n break;\r\n \r\n case 'leftButton':\r\n \tTi.API.info('left button');\r\n \tbreak;\r\n }\r\n } );\r\n\r\n\r\nThe title is never triggered.", "attachment": [], "flagged": false, "summary": "Titanium 3.1.3GA > IOS > Clicking on a map annotation's title or subtitle doesn't trigger a click event", "creator": { "name": "quochuy", "key": "quochuy", "displayName": "Quoc Huy", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "quochuy", "key": "quochuy", "displayName": "Quoc Huy", "active": true, "timeZone": "Australia/Sydney" }, "environment": "3.1.3GA iOS", "comment": { "comments": [ { "id": "273959", "author": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Quoc,\r\n\r\nCan you provide a code sample that can be dropped into a project and reproduced, and attach it as a file or format the code using the statement below on either side of the snippet(without spaces).\r\n{ code }\r\n", "updateAuthor": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-06T19:14:40.000+0000", "updated": "2013-10-06T19:15:58.000+0000" }, { "id": "274664", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-10-10T18:57:01.000+0000", "updated": "2013-10-10T18:57:01.000+0000" }, { "id": "281022", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "DUP issue. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:30:00.000+0000", "updated": "2013-11-24T22:30:00.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }