{ "id": "113370", "key": "AC-1815", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2013-05-02T00:06:35.000+0000", "created": "2013-04-25T05:33:57.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:40:43.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "While MapView in The screen and set region by SetLocation and animate mapview from bottom for showing advertise The Mapview goes in Region change and change it's region to default..aslo if we set region after that it not working", "attachment": [], "flagged": false, "summary": "The Mapview region set ", "creator": { "name": "jnj.idr@gmail.com", "key": "jnj.idr@gmail.com", "displayName": "jayesh joshi", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jnj.idr@gmail.com", "key": "jnj.idr@gmail.com", "displayName": "jayesh joshi", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iPhone OS version 6.1.3\r\nTitanium SDK 3.0.2 GA", "comment": { "comments": [ { "id": "249247", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello,\n\nthis is not enough information in order to properly understand the bug you are trying to report. Please read this instructions:\n\nhttps://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report\n\nand provide a test case. \n\nTIA!\n\n", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-04-26T23:42:06.000+0000", "updated": "2013-04-26T23:42:06.000+0000" }, { "id": "284341", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "We tested this issue with the test code below and were not able to reproduce this with Titanium SDK 3.1.3.GA. We highly recommend to use the latest SDK as it has many new features and fixes. Please try our tested code and let us know if the issue persists. If yes, please send your sample code to test.\r\n\r\nh5. Testing Environment:\r\n\r\nOSX Version 10.8.5 and 10.9\r\nTitanium Studio, build: 3.1.3.201309132423\r\nTi CLI 3.1.2, 3.2.0-cr3\r\nTitanium SDK: 3.1.3.GA \r\nIOS Simulator 7.0\r\n\r\n\r\nh5. Test Code \r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar mapview = Titanium.Map.createView({\r\n\tmapType : Titanium.Map.STANDARD_TYPE,\r\n\tanimate : true,\r\n\tregionFit : true,\r\n\tuserLocation : false,\r\n\twidth : '100%',\r\n\theight : '100%',\r\n\ttop : 0,\r\n});\r\n\r\nmapview.setLocation({\r\n\tlatitude : 37.337681,\r\n\tlongitude : -122.038193,\r\n\tanimate : true,\r\n\tlatitudeDelta : 0.04,\r\n\tlongitudeDelta : 0.04\r\n});\r\n\r\nmapview.addEventListener('complete', function(e) {\r\n\tTi.API.info('complete');\r\n\tdisplayAnimation();\r\n});\r\n\r\nmapview.addEventListener('regionChanged', function(e) {\r\n\tTi.API.info('regionChanged');\r\n\tTi.API.info(e);\r\n});\r\n\r\nfunction displayAnimation(args) {\r\n\r\n\tvar view = Titanium.UI.createView({\r\n\t\tbottom : 0,\r\n\t\tbackgroundColor : 'red',\r\n\t\theight : 100\r\n\t});\r\n\twin.add(view);\r\n\tvar label = Titanium.UI.createLabel({\r\n\t\ttext : 'x',\r\n\t\tright : 0,\r\n\t\ttop : 0,\r\n\t\tcolor : 'blue'\r\n\t});\r\n\tview.add(label);\r\n\r\n\tvar animation = Titanium.UI.createAnimation();\r\n\tanimation.backgroundColor = 'black';\r\n\tanimation.duration = 5000;\r\n\r\n\tvar animationHandler = function() {\r\n\t\tanimation.removeEventListener('complete', animationHandler);\r\n\t\tanimation.backgroundColor = 'orange';\r\n\t\tview.animate(animation);\r\n\r\n\t\tmapview.setHeight('80%');\r\n\t};\r\n\tanimation.addEventListener('complete', animationHandler);\r\n\tview.animate(animation);\r\n\r\n\tlabel.addEventListener('click', function(e) {\r\n\r\n\t\tmapview.setHeight('100%');\r\n\t\tmapview.setWidth('100%');\r\n\t\tview.hide();\r\n\t\tmapview.setLocation({\r\n\t\t\tlatitude : 37.333681,\r\n\t\t\tlongitude : -122.033193,\r\n\t\t\tanimate : true,\r\n\t\t\tlatitudeDelta : 0.04,\r\n\t\t\tlongitudeDelta : 0.04\r\n\t\t});\r\n\r\n\t});\r\n\r\n}\r\n\r\n// Add to parent\r\n\r\nwin.add(mapview);\r\nwin.open();\r\n\r\n{code}\r\n\r\n\r\n", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-14T11:28:23.000+0000", "updated": "2013-12-16T18:01:55.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }