{ "id": "78515", "key": "TIMOB-4832", "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": "11364", "description": "Mobile 1.8.0 M11", "name": "Sprint 2011-32", "archived": true, "released": true, "releaseDate": "2011-08-15" }, { "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-08-19T13:59:48.000+0000", "created": "2011-07-29T10:29:48.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [], "assignee": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-09-08T12:02:22.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Titanium.Map.MapView.setLocation returns undefined, whereas Titanium.Map.MapView.location seems to work. setLocation works on iOS. See test below:\r\n\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n});\r\n\r\nvar mapview = Titanium.Map.createView({\r\n\tmapType: Titanium.Map.STANDARD_TYPE,\r\n regionFit:true,\r\n width:'100%',\r\n height:'100%',\r\n animate:true,\r\n userLocation:true\r\n});\r\n \t\r\n//mapview.location = {latitude:40.581691,longitude:-122.3916,latitudeDelta:0.2, longitudeDelta:0.2};\r\nmapview.setLocation({latitude:40.581691,longitude:-122.3916,latitudeDelta:0.2, longitudeDelta:0.2});\r\n\r\nwin.add(mapview);\r\n\r\nalert(mapview.location);\r\n\r\nwin.open();\r\n{code}\r\n\r\nAPI Docs: http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Map.MapView.setLocation-method.html", "attachment": [], "flagged": false, "summary": "Android: Titanium.Map.MapView.setLocation broken", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "163499", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "review and merge.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-19T13:59:48.000+0000", "updated": "2011-08-19T13:59:48.000+0000" }, { "id": "165398", "author": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing. Passed as expected on HTC Hero running 2.1update1, Nexus S running 2.3.4, and LG-V909 (GSlate) tablet running 3.1.", "updateAuthor": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-08T12:02:22.000+0000", "updated": "2011-09-08T12:02:22.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }