{ "id": "80231", "key": "TIMOB-5275", "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": [ { "id": "12079", "description": "", "name": "Sprint 2011-39", "archived": true, "released": true, "releaseDate": "2011-10-03" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-10-07T11:24:42.000+0000", "created": "2011-09-12T12:55:56.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_map", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:46:38.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": "Clicks events on map view are unreliable. When an annotation is clicked, the clicksource is being returned as 'null' instead of 'pin' sometimes (irregular). This is more profound at higher zoom levels (zoomed out).\r\n\r\nSample Code:\r\n{noformat}\r\nvar win = Ti.UI.createWindow();\r\nvar latitude = 37.390749;\r\nvar longitude = -122.08165;\r\n\r\nvar annotations = [];\r\n\r\nfor (var i=0; i < 20; i++) {\r\n\t\r\n\tvar annotation = Titanium.Map.createAnnotation({\r\n\t\tlatitude:latitude + (0.02 * i),\r\n\t\tlongitude:longitude - (0.02 * i),\r\n\t\ttitle:\"Annotation Test\",\r\n\t\tpincolor: Titanium.Map.ANNOTATION_RED,\r\n\t\tanimate:true\r\n\t});\r\n\t\r\n\tannotations.push(annotation);\r\n};\r\n\r\nvar map = Ti.Map.createView({\r\n\tmapType: Ti.Map.STANDARD_TYPE,\r\n\tregion: {latitude: latitude, longitude: longitude, latitudeDelta: 0.5, longitudeDelta: 0.5},\r\n\tanimate: false,\r\n\tregionFit: true,\r\n\tannotations: annotations\r\n});\r\n\r\nmap.addEventListener('click', function(e) {\r\n\talert(e);\r\n});\r\n\r\nwin.add(map);\r\n\r\nwin.open();\r\n\r\n{noformat}", "attachment": [], "flagged": false, "summary": "Map click events unreliable", "creator": { "name": "sbhimavarapu", "key": "sbhimavarapu", "displayName": "Sandeep Bhimavarapu", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sbhimavarapu", "key": "sbhimavarapu", "displayName": "Sandeep Bhimavarapu", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Product: Mobile\r\nTitanium SDK: 1.7.2, Mobile CI (Latest Build: 1.8.0.v20110909154949)\r\nPlatform OS: iOS\r\nPlatform OS Version: 4.3", "comment": { "comments": [ { "id": "167713", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "pull pending #520", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-03T17:27:00.000+0000", "updated": "2011-10-03T17:27:00.000+0000" }, { "id": "173155", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pass: Tested with 1.8.0.1.v20111116185058 on\r\niPad 2 4.3.5\r\niPod Touch 4.02\r\niPhone 4s 5.0\r\n", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-17T13:21:54.000+0000", "updated": "2011-11-17T13:21:54.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }