{ "id": "91494", "key": "TIMOB-9020", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13398", "description": "Sprint 2012-10 Mobile Web", "name": "Sprint 2012-10 MW", "archived": true, "released": true, "releaseDate": "2012-05-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-20T10:59:11.000+0000", "created": "2012-05-07T14:49:49.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "qe-port" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2012-08-08T16:24:15.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "h6.Issue\r\nHaving more than one annotation caused issues with MobileWeb.\r\n\r\nh6.Steps to reproduce\r\n1. Throw sample below to an MobileWeb project\r\n2. Click one annotation on the map view (only one is clickable)\r\n3. The others won't capture any click events (Notice if you run this sample over again, clicking other annotation remaining ones won't capture any click event).\r\n\r\nh6.Expected behavior\r\nEach Annotation capture click events\r\n\r\nh6.Repro sequence\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({\r\n\ttitle : 'Tab 1',\r\n\tbackgroundColor : '#fff'\r\n});\r\n\r\nvar mountainView = Titanium.Map.createAnnotation({ \r\n\tlatitude:37.7819496, longitude:-122.4945521, \r\n\ttitle:\"Appcelerator Headquarters1\", subtitle:'Mountain2 View, CA', \r\n\tpincolor:Titanium.Map.ANNOTATION_RED, animate:true, \r\n\tleftButton: '../images/appcelerator_small.png', myid:1 \r\n\t// Custom property to uniquely identify this annotation. \r\n\t}); \r\n\t\r\nvar mountainView2 = Titanium.Map.createAnnotation({ \r\n\tlatitude:37.7907269, longitude:-122.4588735, \r\n\ttitle:\"Appcelerator Headquarters2\", subtitle:'Mountain View, CA', \r\n\tpincolor:Titanium.Map.ANNOTATION_RED, animate:true, \r\n\tleftButton: '../images/appcelerator_small.png', myid:2 \r\n\t// Custom property to uniquely identify this annotation. \r\n\t}); \r\n\t\r\nvar mountainView3 = Titanium.Map.createAnnotation({ \r\n\tlatitude:37.7878780, longitude:-122.4111750, \r\n\ttitle:\"Appcelerator Headquarters3\", subtitle:'Mountain View, CA', \r\n\tpincolor:Titanium.Map.ANNOTATION_RED, animate:true, \r\n\tleftButton: '../images/appcelerator_small.png', myid:3 \r\n// Custom property to uniquely identify this annotation. \r\n});\r\n\r\nvar mapview = Titanium.Map.createView({\r\n\tmapType : Titanium.Map.STANDARD_TYPE,\r\n\tregion : {\r\n\t\tlatitude : 37.78583526611328,\r\n\t\tlongitude : -122.40641784667969,\r\n\t\tlatitudeDelta : 0.03,\r\n\t\tlongitudeDelta : 0.03\r\n\t},\r\n\tanimate : true,\r\n\tregionFit : true,\r\n\tuserLocation : true,\r\n\tannotations : [mountainView, mountainView2, mountainView3]\r\n});\r\n\r\nwin1.add(mapview);\r\n\r\nwin1.open(); \r\n{code}", "attachment": [ { "id": "27813", "filename": "Archive.zip", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-05-19T17:40:48.000+0000", "size": 3122596, "mimeType": "application/zip" }, { "id": "27573", "filename": "MW_MapView_2.0.1.GA2.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-07T14:49:49.000+0000", "size": 162586, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "MobileWeb: Not able to click MapView annotations when having more than one ", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Product: Mobile\r\nTitanium SDK: Mobile 2.0.1 & 2.1.0\r\nPlatform OS: Mobile Web (HTML5)\r\nPlatform OS Version: 5.1", "comment": { "comments": [ { "id": "194020", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Confirmed this is indeed a bug. :(", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-05-07T15:05:45.000+0000", "updated": "2012-05-07T15:05:45.000+0000" }, { "id": "195381", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/2234", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-05-19T17:40:00.000+0000", "updated": "2012-05-19T17:40:00.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }