{ "id": "87296", "key": "TIMOB-7868", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-08-01T22:37:35.000+0000", "created": "2012-03-02T14:57:59.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "module_map", "parity", "qe-testadded" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "15517", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "85072", "key": "TIMOB-7272", "fields": { "summary": "Android: change map annotation to fire event when the annotation pin is clicked", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "15518", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "87297", "key": "TIMOB-7869", "fields": { "summary": "iOS: Titanium.Map.Annotation: when title or subtitle is clicked, annotation closes", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-01T22:37:35.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When a map annotation is visible and the related pin is clicked, no annotation click event is fired. It works on Android. Parity.\r\nClone of TIMOB-7272.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Run code.\r\n\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar atlantaParams = {\r\n\tlatitude:33.74511,\r\n\tlongitude:-84.38993,\r\n\ttitle:\"Atlanta, GA\",\r\n\tsubtitle:'Atlanta Braves Stadium\\nfoo',\r\n\tanimate:true,\r\n\trightButton: Titanium.UI.iPhone.SystemButton.DISCLOSURE,\r\n\tmyid:3 // CUSTOM ATTRIBUTE THAT IS PASSED INTO EVENT OBJECTS\r\n};\r\n\r\natlantaParams.pincolor = Titanium.Map.ANNOTATION_PURPLE;\r\n\r\nvar atlanta = Titanium.Map.createAnnotation(atlantaParams);\r\n\r\nvar mapview = Titanium.Map.createView({\r\n\tmapType: Titanium.Map.STANDARD_TYPE,\r\n\tregion:{latitude:33.74511, longitude:-84.38993, latitudeDelta:0.5, longitudeDelta:0.5},\r\n\tanimate:true,\r\n\tregionFit:true,\r\n\tuserLocation:true,\r\n\tannotations:[atlanta]\r\n});\r\n\r\nmapview.addEventListener(\"click\", function(e) {\r\n\tvar info = '\\n';\r\n\t\r\n\tinfo += 'type: ' + e.type + '\\n';\r\n\tinfo += 'clicksource: ' + e.clicksource + '\\n';\r\n\tinfo += 'title: ' + e.title + '\\n';\r\n\tinfo += 'index: ' + e.index + '\\n';\r\n\tinfo += 'annotation: ' + e.annotation + '\\n';\r\n\tinfo += 'map: ' + e.map + '\\n';\r\n\tinfo += 'source: ' + e.source + '\\n';\r\n\t\r\n\tTi.API.info(info);\r\n\talert(info);\r\n});\r\n\r\nmapview.addAnnotation(atlanta);\r\n\r\nwin.add(mapview);\r\n\r\nwin.open();\r\n{code}\r\n\r\n2. Click pin to open annotation. Close first alert.\r\n3. Click pin again when annotation is open.\r\n\r\nExpected Result:\r\n\r\nAnnotation event should fire, with alert.\r\n\r\nActual Result:\r\n\r\nNo event fired, as it would in Android.", "attachment": [], "flagged": false, "summary": "iOS: change map annotation to fire event when the annotation pin is clicked", "creator": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 1.8.2 githash=59b3a90s, 2.0.0.v20120301093149\r\nStudio: 2.0.0.201202291457\r\nOS: Snow Leopard\r\nDevices Tested: iPhone Simulator 5.0, iPod 4.3.3", "comment": { "comments": [ { "id": "184942", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Now that we actually have gesture listeners, we can implement click detection on maps. There are some long-standing parity bugs involving map click detection.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-02T15:22:06.000+0000", "updated": "2012-03-02T15:22:06.000+0000" }, { "id": "245695", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 \nTitanium SDK version: 3.0.2 \niOS iPhone Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-04T11:36:13.000+0000", "updated": "2013-04-04T11:36:13.000+0000" }, { "id": "271344", "author": { "name": "tmarly", "key": "tmarly", "displayName": "Tristan Marly", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm subscribing to this bug, still occurs on 3.1.2.GA / iPhone Simulator 6.0\r\n\r\nReally annoying because the only way to listen click on markers is to set a title and have this not very nice black bubble above the marker.\r\nI don't know if there is a workaround to force the black bubble to stay hidden.", "updateAuthor": { "name": "tmarly", "key": "tmarly", "displayName": "Tristan Marly", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T20:32:13.000+0000", "updated": "2013-09-16T20:32:13.000+0000" }, { "id": "425218", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing due to inactivity. If this issue still exists, please raise a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-01T22:37:35.000+0000", "updated": "2017-08-01T22:37:35.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }