{ "id": "124225", "key": "TIMOB-16779", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2016-08-30T19:54:52.000+0000", "created": "2013-12-27T11:41:25.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "36332", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "128531", "key": "TIMOB-16791", "fields": { "summary": "BlackBerry: Create Map module", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T20:23:37.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": [], "description": "h6.Steps to Reproduce\r\nAdd a map view and set regionFit=true\r\n\r\nh6.Actual Result\r\nRegion does not fit and remains on the default zoom level\r\n\r\nh6. Expected Result\r\nRegion should be fit\r\n\r\nh6.Test case\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tlayout : 'vertical'\r\n});\r\n\r\nvar MapModule = require('ti.map');\r\n\r\nvar mapData = {\r\n\t\r\n\t//BlackBerry test\r\n\tmapType: Titanium.Map.STANDARD_TYPE,\r\n\t\r\n\t//iOS test\r\n\t//mapType: MapModule.STANDARD_TYPE, \r\n\tregion : {\r\n\t\tlatitude : 33.74511,\r\n\t\tlongitude : -84.38993,\r\n\t\tlatitudeDelta : 0.5,\r\n\t\tlongitudeDelta : 0.5\r\n\t},\r\n\tanimate : true,\r\n\tregionFit : true,\r\n\tuserLocation : true\r\n};\r\n\r\n//BB test\r\nvar mapview = Titanium.Map.createView(mapData);\r\nwin.add(mapview); \r\n\r\n//iOS\r\n//var MapModule = require('ti.map');\r\n//var mapview = MapModule.createView(mapData);\r\n\r\nwin.add(mapview);\r\nwin.open();\r\n{code}", "attachment": [ { "id": "46912", "filename": "TC-3479 BlackBerry Simulator Screen shot Mar 27, 2014 6.49.02 PM.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-28T00:56:08.000+0000", "size": 194751, "mimeType": "image/jpeg" }, { "id": "46913", "filename": "TC-3479 iOS Simulator Screen shot Mar 27, 2014 6.49.02 PM.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-28T00:56:08.000+0000", "size": 632700, "mimeType": "image/png" } ], "flagged": false, "summary": "BlackBerry: Map view regionFit not work, but iOS works", "creator": { "name": "morefun", "key": "morefun", "displayName": "Steven Lam", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "morefun", "key": "morefun", "displayName": "Steven Lam", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio 3.2.1", "comment": { "comments": [ { "id": "288537", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hi Steve,\n\nCan you please post your test code? It will help us to expedite the review process. We can then provide you a work-around or recommendation.\n\nThanks,", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-16T23:03:04.000+0000", "updated": "2014-01-16T23:03:04.000+0000" }, { "id": "394828", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "BlackBerry is dead.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-30T19:54:52.000+0000", "updated": "2016-08-30T19:54:52.000+0000" }, { "id": "413894", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as BlackBerry is no longer supported.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T20:23:37.000+0000", "updated": "2017-03-20T20:23:37.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }