{ "id": "91940", "key": "TIMOB-10405", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-08-23T10:58:26.000+0000", "created": "2012-05-17T05:52:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [], "issuelinks": [], "assignee": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T22:32:08.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": "On android, when the mapview has regionFit set to false using setLocation and changing the zoom (delta) doesn't actually change the delta. It seems to work on iPhone and on Android if regionFit is true. The different behavior in Android/iPhone makes me think this is not desired behavior. Sample code below:\r\n\r\n\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n\r\nnavWindow = Ti.UI.createWindow();\r\n\r\n\r\n//\r\n// create base UI tab and root window\r\n//\r\nvar win1 = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar regionSV = {latitude:33.74511, longitude:-84.38993,animate:true,latitudeDelta:0.02, longitudeDelta:0.02,animate:true};\r\n\r\n//\r\n// CREATE MAP VIEW\r\n//\r\n\r\n\r\nvar mapview = Titanium.Map.createView({\r\n\tmapType: Titanium.Map.STANDARD_TYPE,\r\n\tregion:{latitude:33.74511, longitude:-84.38993, latitudeDelta:0.5, longitudeDelta:0.5},\r\n\t animate:false,\r\n\t regionFit:false, //this set to false prevents zooming on Android only\r\n\t userLocation:false\r\n});\r\n\r\nwin1.add(mapview);\r\n\r\nwin1.open();\r\n\r\nsetTimeout(function(){\r\n\tmapview.setLocation(regionSV);\r\n},5000);\r\n", "attachment": [], "flagged": false, "summary": "Android: Mapview setLocation Parity Issue", "creator": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mobile SDK 2.x\r\nAndroid", "comment": { "comments": [ { "id": "213917", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "What Ti SDK you're reporting it for?", "updateAuthor": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-10T16:58:26.000+0000", "updated": "2012-08-10T16:58:26.000+0000" }, { "id": "215838", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce this issue with the latest master CI build", "updateAuthor": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-23T10:58:26.000+0000", "updated": "2012-08-23T10:58:26.000+0000" }, { "id": "414584", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:32:08.000+0000", "updated": "2017-03-21T22:32:08.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }