{ "id": "133707", "key": "TIMOB-17884", "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": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" }, { "id": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-10-24T22:34:54.000+0000", "created": "2014-07-25T09:06:03.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "TCSupport", "api", "cache", "google", "leak", "map", "memory", "module_androidmapv2", "qe-testadded", "tiles", "v2" ], "versions": [], "issuelinks": [ { "id": "39951", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "134850", "key": "AC-1145", "fields": { "summary": "Android: Google Maps v2 map tiles not showing when scrolling/zooming ", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "42675", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "132273", "key": "TIMOB-17219", "fields": { "summary": "Android: Google Maps stop loading in Android 4.4 with Google Play Services (4.4.52)", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-12-17T15:00:01.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": "After starting a map view, everything works fine for a while. \r\n\r\nIf you do a lot of scrolling and zooming, you don't see any map details any more after a while on some devices (e.g. Samsung Galaxy S4 w Android 4.2.1, Oppo Find 7 w Android 4.4, Google Nexus 7 w Android 4.4 etc.).\r\n\r\n* You can still scroll and zoom, but the map stays blurry (street names still appear).\r\n* Switching between satellite and standard view doesn't change the bevhaviour.\r\n* Sometimes the app crashes after heavy zooming and scrolling.\r\n* After clearing the cache (application settings) and restarting the app, the map works fine again for some time. So I assume it's a memory issue.\r\n* In addition some users report that the performance of the map view is, compared to the Google Maps app, worse and the use of internet traffic is higher.\r\n\r\nI attached a sample project. You just have to enter your Google API key and adapt the app id.\r\nIf you have any questions or need more information feel free to post a comment.", "attachment": [ { "id": "50050", "filename": "Map Test.zip", "author": { "name": "bedengler", "key": "bedengler", "displayName": "Bernhard Dengler", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-07-25T09:06:03.000+0000", "size": 2453760, "mimeType": "application/zip" } ], "flagged": false, "summary": "Map: Android - Google Maps v2 map tiles not showing when scrolling/zooming ", "creator": { "name": "bedengler", "key": "bedengler", "displayName": "Bernhard Dengler", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "bedengler", "key": "bedengler", "displayName": "Bernhard Dengler", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium Studio, SDK 3.2.3, Google Maps module (V2.1.4 Android)", "closedSprints": [ { "id": 241, "state": "closed", "name": "2014 Sprint 22 SDK", "startDate": "2014-10-27T22:25:43.407Z", "endDate": "2014-11-08T01:00:00.000Z", "completeDate": "2014-11-10T20:10:00.899Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "315793", "author": { "name": "bedengler", "key": "bedengler", "displayName": "Bernhard Dengler", "active": true, "timeZone": "Europe/Berlin" }, "body": "There are also some other users reporting the same issue:\r\nhttp://developer.appcelerator.com/question/174865/caching-of-google-map-tiles-android#answer-281124", "updateAuthor": { "name": "bedengler", "key": "bedengler", "displayName": "Bernhard Dengler", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-07-25T09:10:41.000+0000", "updated": "2014-07-25T09:10:41.000+0000" }, { "id": "316112", "author": { "name": "bedengler", "key": "bedengler", "displayName": "Bernhard Dengler", "active": true, "timeZone": "Europe/Berlin" }, "body": "Were you able to verify this?", "updateAuthor": { "name": "bedengler", "key": "bedengler", "displayName": "Bernhard Dengler", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-07-29T08:22:43.000+0000", "updated": "2014-07-29T08:22:43.000+0000" }, { "id": "316867", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "Useless: cache clearing, app data clearing\r\nTime to time force quit of app helps.", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-08-04T17:01:55.000+0000", "updated": "2014-08-04T17:01:55.000+0000" }, { "id": "318724", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~bedengler], \r\n\r\nThe sample you posted seems to be adding the Map to a modal Window. \r\n\r\n{code}\r\n\t//var win = Titanium.UI.currentWindow;\r\n\tvar win = Titanium.UI.createWindow({\r\n\t\tbarColor : '#a1c653',\r\n\t\tnavBarHidden : true,\r\n\t backgroundColor : \"white\",\r\n //backgroundImage : '/images/Hintergrund_h1200.png',\r\n title: 'Karte',\r\n\t modal:true\r\n\t});\r\n{code}\r\n\r\n- http://docs.appcelerator.com/titanium/latest/#!/guide/Google_Maps_v2_for_Android-section-36739898_GoogleMapsv2forAndroid-Mapappearsblurry\r\n\r\nYou may want to double check using a smaller sample and see if the issue persist.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({});\r\n\r\nvar mapObject = require(\"ti.map\");\r\nvar map = mapObject.createView({\r\n\twidth : Ti.UI.FILL,\r\n\theight : Ti.UI.FILL,\r\n\tuserLocation : true,\r\n\tregionFit : true,\r\n\tmapType : mapObject.NORMAL_TYPE\r\n});\r\n\r\nwin.setNavBarHidden(true);\r\n\r\nwin.add(map);\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-08-14T21:00:31.000+0000", "updated": "2014-08-14T21:00:31.000+0000" }, { "id": "318957", "author": { "name": "jrhinehart", "key": "jrhinehart", "displayName": "Joshua Rhinehart", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Using the suggested code from Eduardo's comment directly above this, I was able to reproduce the issue on an HTC One M7 running 4.2.2 compiled with 3.3.0. \r\n\r\nTESTING ENVIRONMENT:\r\nTitanium SDK: 3.3.0.GA\r\nTitanium CLI: 3.3.0\r\nOS X Version: 10.9.3\r\nAndroid Version: 4.2.2\r\nMap Module 2.1.4\r\n\r\nSTEPS TO TEST:\r\nCreate a simple project.\r\nUpdate project using sample test code\r\nAdd Map module 2.1.4 in tiapp.xml\r\nRun on android device\r\nZoom in/out repeatedly, eventually map fails to load new data\r\n", "updateAuthor": { "name": "jrhinehart", "key": "jrhinehart", "displayName": "Joshua Rhinehart", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-15T21:52:44.000+0000", "updated": "2014-08-15T21:52:44.000+0000" }, { "id": "319005", "author": { "name": "stoda", "key": "stoda", "displayName": "Seth Toda", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hey guys, please clone tickets and then move them to the correct project. We keep getting emails of community users loosing their tickets. \r\nIf you want to make a community facing comment please make it on TC-4584\r\n- Seth", "updateAuthor": { "name": "stoda", "key": "stoda", "displayName": "Seth Toda", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-18T02:33:15.000+0000", "updated": "2014-08-18T02:33:15.000+0000" }, { "id": "321391", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tried on 2 devices 1. HTC One 2. Samsung galaxy S5\r\nWas able to reproduce the issue on the HTC one easily. The issue could not be seen on galaxy S5. Might be samsung devices take a long time to show the issue.\r\n\r\nEnvironment:\r\nTitanium SDK: 3.3.0.GA\r\nTitanium CLI: 3.3.0\r\nOS X Version: 10.9.3\r\nAndroid Version: 4.2.2 (HTC One) , 4.4.2(Samsung Galaxy S5)\r\nMap Module 2.1.4", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-02T18:36:07.000+0000", "updated": "2014-09-02T18:36:07.000+0000" }, { "id": "324575", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Investigate fragment lifecycle.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-18T20:07:53.000+0000", "updated": "2014-09-18T20:07:53.000+0000" }, { "id": "328171", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-10-15T14:16:24.000+0000", "updated": "2014-10-15T14:16:24.000+0000" }, { "id": "328179", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Not yet, unfortunately. However, you can I think resolve that other ticket since I've now moved this one into TIMODOPEN.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-15T15:06:51.000+0000", "updated": "2014-10-15T15:06:51.000+0000" }, { "id": "328949", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "ti.map module PR: https://github.com/appcelerator-modules/ti.map/pull/67\r\nmaster PR: https://github.com/appcelerator/titanium_mobile/pull/6256\r\n3_4_1 PR: https://github.com/appcelerator/titanium_mobile/pull/6273\r\n3_4_X PR: https://github.com/appcelerator/titanium_mobile/pull/6274", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-22T00:50:51.000+0000", "updated": "2014-10-24T22:19:19.000+0000" }, { "id": "329459", "author": { "name": "bedengler", "key": "bedengler", "displayName": "Bernhard Dengler", "active": true, "timeZone": "Europe/Berlin" }, "body": "Seems to be solved, sounds good, thank you! I appreciate your work", "updateAuthor": { "name": "bedengler", "key": "bedengler", "displayName": "Bernhard Dengler", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-10-25T08:09:22.000+0000", "updated": "2014-10-25T08:09:33.000+0000" }, { "id": "329665", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified that with the new ti.map module (2.2.1), tiles will be loaded after scrolling and zooming a lot.\r\n\r\nTested on:\r\n\r\nAppcelerator Studio, build: 3.4.1.201410191611\r\nSDK build: 3.4.1.v20141027160917\r\nCLI: 3.4.1-dev\r\nAlloy: 1.5.1\r\nAndroid SDK Build-tools: 20\r\nAndroid SDK Platform-tools: 21\r\nAndroid SDK Tools: 23.0.5\r\nDevice: HTC One (4.2.2), Samsung Galaxy S4 (4.4.2)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-28T00:37:15.000+0000", "updated": "2014-10-28T00:37:15.000+0000" }, { "id": "336765", "author": { "name": "bedengler", "key": "bedengler", "displayName": "Bernhard Dengler", "active": true, "timeZone": "Europe/Berlin" }, "body": "I've tried it now with ti.map plugin version 2.2.1 and Ti Studio V 3.4.1 (btw: it was really hard to find ti.map version 2.2.1 as the official link from marketplace still points to 2.1.4).\r\nBasically it's working except for the satelite/hybrid view. \r\nIf you're in satelite/hybrid view and scrolling a lot, after some time the pictures stay blurred although the streets and streetnames sharpen.\r\nSo there's still something not working perfectly. \"Normal\" mode works fine and when switching to \"normal\" mode (when the satelite view stays blurry), normal mode still works fine.\r\n\r\nTested on Samsung Galaxy S3 with Android 4.4.4 and Google Nexus 7 with Android 5.0.", "updateAuthor": { "name": "bedengler", "key": "bedengler", "displayName": "Bernhard Dengler", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-12-17T15:00:01.000+0000", "updated": "2014-12-17T15:00:01.000+0000" } ], "maxResults": 20, "total": 20, "startAt": 0 } } }