{ "id": "149789", "key": "AC-1193", "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": "2015-07-28T15:56:58.000+0000", "created": "2015-07-18T17:28:28.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "48421", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "outwardIssue": { "id": "125227", "key": "MOD-1840", "fields": { "summary": "iOS: Map Module: Click events do not work as described with 3.2.0 release", "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": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2016-03-08T07:37:34.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": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "This is similar to MOD-1840 however it is also affecting 4.1.0GA so i assume this is a major issue for many people.\r\n\r\nI receive an event from the pin source when i click on an annotation to select it. Once it is selected and i try to click on the right image (or anything) no event is fired. When i select outside the annotation i get an event fired from the annotation source. So i only receive an annotation source event when the annotaion is deselected which is not helpful.\r\n\r\nPlease help.\r\n\r\nSome sample code is as follows:\r\n\r\nvar annotation = Alloy.createController(\"annotation\", auctions[i]);\r\n$.mapView.addAnnotation(annotation.getView());\r\n\r\n$.mapView.addEventListener(\"click\", function(e)\r\n{\r\n\tTitanium.API.info('map click: ' + e.clicksource);\r\n});\r\n\r\n\r\nIn the annotation.js file:\r\n\r\nvar auction = arguments[0] || {};\r\n\r\n$.annotationWrapper.latitude = auction[\"property.latitude\"];\r\n$.annotationWrapper.longitude = auction[\"property.longitude\"];\r\n\r\n$.annotationWrapper.leftView = Titanium.UI.createImageView({image : auction[\"property_advertisement.image_thumb_url\"], height : 50, width : 50});\r\n\r\nvar title = auction[\"property.address_line_1\"];\r\nif (auction[\"property.address_line_2\"])\r\n{\r\n\ttitle += \", \" + auction[\"property.address_line_2\"];\r\n}\r\n$.annotationWrapper.title = title;\r\n$.annotationWrapper.subtitle = auction[\"suburb.name\"];\r\n\r\nIn the annotation.tss file:\r\n\r\n\"#annotationWrapper[platform=ios]\": {\r\n image: \"/common/images/house_pin.png\",\r\n animate: true,\r\n rightButton: Titanium.UI.iPhone.SystemButton.DISCLOSURE,\r\n showInfoWindow: false\r\n}\r\n\r\n\"#annotationWrapper[platform=android]\": {\r\n image: \"/common/images/house_pin.png\",\r\n animate: true,\r\n rightButton: \"/common/images/disclosure_icon.png\",\r\n showInfoWindow: false\r\n}", "attachment": [], "flagged": false, "summary": "Map Annotation click event not fired in IOS", "creator": { "name": "jameswilson", "key": "jameswilson", "displayName": "James Wilson", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "jameswilson", "key": "jameswilson", "displayName": "James Wilson", "active": true, "timeZone": "Australia/Sydney" }, "environment": "ios8.4", "comment": { "comments": [ { "id": "358443", "author": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "body": "Huge issue for us. So disappointed to find a regression like this in 4.1.0. Is there any workaround while we wait for a fix?", "updateAuthor": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "created": "2015-07-28T15:12:29.000+0000", "updated": "2015-07-28T15:12:29.000+0000" }, { "id": "358448", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-07-28T15:56:58.000+0000", "updated": "2015-07-28T15:56:58.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }