{ "id": "107077", "key": "TIMOB-12152", "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": "15070", "description": "2013 Sprint 02 Core", "name": "2013 Sprint 02 Core", "archived": true, "released": true, "releaseDate": "2013-01-28" }, { "id": "14812", "description": "2013 Sprint 02", "name": "2013 Sprint 02", "archived": true, "released": true, "releaseDate": "2013-01-28" } ], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2013-01-29T05:16:35.000+0000", "created": "2012-12-26T02:38:08.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "core", "maps", "qe-port" ], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:44: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": "TiMap scrolling on iPhone4 is slower and sluggish as compared to native iOS maps scrolling.\r\nh4. Steps to reproduce\r\n1. Run the below sample code in your project's app.js or KitchenSink's map example.\r\n2. Open the application.\r\n3. Scroll through the map and you can see the slowness in the scroll performance as compared to the native iOS maps.\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar mountainView = Titanium.Map.createAnnotation({\r\n latitude:37.390749,\r\n longitude:-122.081651,\r\n title:\"Appcelerator Headquarters\",\r\n subtitle:'Mountain View, CA',\r\n pincolor:Titanium.Map.ANNOTATION_RED,\r\n animate:true,\r\n leftButton: '../images/appcelerator_small.png',\r\n myid:1 // Custom property to uniquely identify this annotation.\r\n});\r\n\r\nvar mapview = Titanium.Map.createView({\r\n mapType: Titanium.Map.STANDARD_TYPE,\r\n region: {latitude:33.74511, longitude:-84.38993, \r\n latitudeDelta:0.01, longitudeDelta:0.01},\r\n animate:true,\r\n regionFit:true,\r\n userLocation:true,\r\n annotations:[mountainView]\r\n});\r\n\r\nwin.add(mapview);\r\n// Handle click events on any annotations on this map.\r\nmapview.addEventListener('click', function(evt) {\r\n\r\n Ti.API.info(\"Annotation \" + evt.title + \" clicked, id: \" + evt.annotation.myid);\r\n\r\n // Check for all of the possible names that clicksouce\r\n // can report for the left button/view.\r\n if (evt.clicksource == 'leftButton' || evt.clicksource == 'leftPane' ||\r\n evt.clicksource == 'leftView') {\r\n Ti.API.info(\"Annotation \" + evt.title + \", left button clicked.\");\r\n }\r\n});\r\nwin.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS6: TiMaps scrolling is slow on iPhone 4", "creator": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [ { "id": "108641", "key": "TIMOB-12453", "fields": { "summary": "Backport: TIMOB-12152", "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": "High", "id": "2" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } ], "reporter": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS6\r\niPhone4\r\nTiSDK 3.0.0.GA", "comment": { "comments": [ { "id": "232514", "author": { "name": "moshebox@gmail.com", "key": "moshebox@gmail.com", "displayName": "Moshe Marciano", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "I would also add that on top of that performance issue, it gets even worse if you use the regionChanged event listener (even if it does nothing).", "updateAuthor": { "name": "moshebox@gmail.com", "key": "moshebox@gmail.com", "displayName": "Moshe Marciano", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2012-12-26T06:32:47.000+0000", "updated": "2012-12-26T06:32:47.000+0000" }, { "id": "234016", "author": { "name": "mbelkin", "key": "mbelkin", "displayName": "Michael Belkin", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can confirm this issue. It's significantly worse with iOS6 and the new Apple Maps. I tested the same code on an iOS5.1 device with Google Maps and the performance was significantly better.", "updateAuthor": { "name": "mbelkin", "key": "mbelkin", "displayName": "Michael Belkin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-11T15:09:40.000+0000", "updated": "2013-01-11T15:09:40.000+0000" }, { "id": "236024", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR https://github.com/appcelerator/titanium_mobile/pull/3791", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-25T22:28:24.000+0000", "updated": "2013-01-25T22:28:24.000+0000" }, { "id": "236308", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*It is slow scrolling in iPhone4 with iOS6.0.1*\r\nThere is a difference in masshtab between native map and test app map as well. I do not see a significant difference in behavior though.\r\nTested with:\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK, build: 3.0.2.v20130128144016\r\nTitanium SDK, build: 3.1.0.v20130128105819\r\niPhone4 5.1.1\r\niPhone4S 5.0.1\r\niPhone5 6.0\r\niPhone4 6.0 ---slow\r\n\r\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-28T21:51:53.000+0000", "updated": "2013-01-29T00:50:08.000+0000" }, { "id": "236363", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving out of 3.0.2 for now--move back in if we have a fix.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-29T01:58:27.000+0000", "updated": "2013-01-29T01:58:27.000+0000" }, { "id": "236382", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I tested with 100% native app that uses MapView and it had the same slow scrolling on iPhone4 running iOS6. Apple's Maps app shows smoother scrolling.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-29T05:16:35.000+0000", "updated": "2013-01-29T05:21:25.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }