{ "id": "84965", "key": "TIMOB-7208", "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": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13170", "name": "Sprint 2012-06", "archived": true, "released": true, "releaseDate": "2012-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-05T03:41:07.000+0000", "created": "2012-01-16T11:23:34.000+0000", "priority": { "name": "High", "id": "2" }, "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" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-05T11:23:53.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 an annotation is added to a map, it does not animate in if the image property is used.\r\n\r\nh4. Steps to reproduce\r\nStep 1: the the code below\r\nStep 2: click the button\r\nStep 3: notice that the annotation does not fall onto the map\r\nStep 4: remove image: \" 'appicon.png' \" and repeat the steps above\r\nStep 5: notice that the pin falls onto the map when it is added\r\n\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\n\r\nvar button = Ti.UI.createButton({\r\n\ttitle: 'Add Annotations',\r\n\ttop: 10,\r\n\tleft: 10,\r\n\theight: 40,\r\n\twidth: 200\r\n});\r\nbutton.addEventListener('click', function(){\r\n\tvar mountainView = Titanium.Map.createAnnotation({\r\n\t\tlatitude:37.390749,\r\n\t\tlongitude:-122.081651,\r\n\t\ttitle:\"Appcelerator Headquarters\",\r\n\t\tsubtitle:'Mountain View, CA',\r\n\t\tanimate: true,\r\n\t\timage: 'appicon.png'\r\n\t});\r\n\tmapView.annotations = [mountainView];\r\n});\r\n\r\nvar mapView = Titanium.Map.createView({\r\n\ttop: 50,\r\n\tmapType: Titanium.Map.STANDARD_TYPE,\r\n\tregion:{latitude:37.390749,longitude:-122.081651,animate:true,latitudeDelta:0.04, longitudeDelta:0.04},\r\n\tanimate:true,\r\n\tregionFit:true,\r\n\tuserLocation:true,\r\n});\r\n\r\nwin.add(button);\r\nwin.add(mapView);\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: map annotations do not animate in when the image property is set", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.8.0.1\r\niOS Simulator 5.0", "comment": { "comments": [ { "id": "186660", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Verified fix on:\r\n\r\nSDK build: 2.0.0.v20120315123246\r\nTitanium Studio, build: 2.0.0.201203142055\r\nxcode: 4.2\r\nDevice: iphone 4s (5.0.1)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-15T12:54:11.000+0000", "updated": "2012-03-15T12:54:11.000+0000" }, { "id": "201541", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to update labels", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-05T03:40:25.000+0000", "updated": "2012-07-05T03:40:25.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }