{ "id": "76501", "key": "TIMOB-4449", "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": "11361", "description": "Mobile 1.8.0 M08", "name": "Sprint 2011-29", "archived": true, "released": true, "releaseDate": "2011-07-25" }, { "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-11-18T10:30:27.000+0000", "created": "2011-06-16T14:29:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_map", "qe-testadded", "regression" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [ { "id": "11754", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "77525", "key": "TIMOB-4599", "fields": { "summary": "iOS Regression: MapView Region Doesn't Set in 1.7.0+", "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": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-11-18T10:30:27.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": "A mapview placed on a tab in a tabgroup ignores region. Here is simple testing code:\r\n{code}\r\n\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n\r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Map',\r\n navBarHidden:true\r\n});\r\n\r\nvar tab2 = Titanium.UI.createTab({ \r\n icon:'KS_nav_ui.png',\r\n title:'Map',\r\n window:win2\r\n});\r\n\r\n\r\nvar mapview = Titanium.Map.createView({\r\n\tmapType: Titanium.Map.STANDARD_TYPE,\r\n regionFit:true,\r\n region:{latitude:40.581691,longitude:-122.3916,latitudeDelta:2, longitudeDelta:2}\r\n});\r\nwin2.add(mapview);\r\n\r\ntabGroup.addTab(tab2); \r\n\r\ntabGroup.open();\r\n{code}\r\n\r\nPlace the mapview directly in a window (no tab), and region will work. Also, running on 1.6.2 works fine.", "attachment": [ { "id": "21189", "filename": "app.js", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-06-17T11:33:42.000+0000", "size": 732, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Mapview Region ignored when mapview placed in tabgroup", "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": "157023", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "test app. tab 1 opens with region focused near Redding, CA", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-06-17T11:33:42.000+0000", "updated": "2011-06-17T11:33:42.000+0000" }, { "id": "157140", "author": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Modified to an iOS Bug.", "updateAuthor": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-20T10:02:32.000+0000", "updated": "2011-06-20T10:02:32.000+0000" }, { "id": "160283", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "fixed. pending pull request.", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-21T17:30:09.000+0000", "updated": "2011-07-21T17:30:09.000+0000" }, { "id": "165453", "author": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing. Fix verified on iPad 2 4.3.5, iPhone 4 4.2.10, iPod 3rd generation 4.0.2.", "updateAuthor": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-08T16:54:13.000+0000", "updated": "2011-09-08T16:54:13.000+0000" }, { "id": "173162", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fail: 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\nDoes not zoom into the region", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-17T14:07:44.000+0000", "updated": "2011-11-17T14:07:44.000+0000" }, { "id": "173287", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reference TIMOB-6232 for zoom issue", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-18T10:30:27.000+0000", "updated": "2011-11-18T10:30:27.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }