{ "id": "132576", "key": "AC-1175", "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": "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": "2014-08-08T07:01:10.000+0000", "created": "2014-07-03T14:21:09.000+0000", "labels": [ "android", "ti.map" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:37:32.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": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "The map won't update for Android when panning around and zooming in on a different location. Im having the same problem with both the Development key (shipped with Titanium) and the Distribution key.\r\n\r\nIt seems like the application is caching the map somehow, as the map at start (Sydney, Australia) is COMPLETELY blurred, while if I move the map to Karlstad, Sweden, the map is fine even when zoomed, a lot. Karlstad is the first location used for my map, so I guess thats why.\r\n\r\n\r\nIf I create a whole new application, the Development API key for Google maps (shipped with Titanium) works fine, but the issue remains with the Distribution key (What? Shouldn't work at all?).\r\n\r\napp.js now contains the following, and nothing more:\r\n//\r\n\r\n{code}\r\nvar MapModule = require('ti.map');\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white', title: 'Title', navBarHidden: true});\r\n\r\nvar mapview = MapModule.createView({\r\n mapType: MapModule.NORMAL_TYPE,\r\n region: {latitude: -33.87365, longitude: 151.20689, latitudeDelta: 0.1, longitudeDelta: 0.1 }, //Sydney\r\n userLocation: true,\r\n annotations: [],\r\n animate: false\r\n});\r\n\r\nwin.add(mapview);\r\nwin.open();\r\n//\r\n{code}\r\nIm not sure if this is an issue you can address, or if this is an issue for Google rather than you, but I thought that I'd start here and see what you have to say.\r\n\r\nThis application is currently sitting on Google Play, so a quick answer would be greatly appreciated.\r\n\r\nMany thanks in advance.\r\n\r\nRegards,\r\nJimmie Jönsson", "attachment": [], "flagged": false, "summary": "Android map module doesn't update when panning around and zooming", "creator": { "name": "jimmie", "key": "jimmie", "displayName": "Jimmie Jönsson", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jimmie", "key": "jimmie", "displayName": "Jimmie Jönsson", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OSX Version 10.9.2\r\nTitanium SDK 3.1.3.GA\r\nTi.Map module", "comment": { "comments": [ { "id": "315234", "author": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hi,\r\n\r\nWe tried to reproduce this issue with a sample test case. It’s working as expected with Titanium SDK 3.1.3.GA and 3.3.0.GA.\r\n \r\nh5. TESTING ENVIRONMENT:\r\n\r\n Titanium SDK: 3.1.3.GA and 3.3.0.GA\r\n Titanium CLI: 3.3.0\r\n OS X Version: 10.9.3\r\n Android API Level: 17 and 19\r\n\r\nh5. TEST CODE:\r\n\r\n{code} \r\nvar MapModule = require('ti.map');\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white',\r\n\ttitle : 'Title',\r\n\tnavBarHidden : true\r\n});\r\n \r\nvar mapview = MapModule.createView({\r\n\tmapType : MapModule.NORMAL_TYPE,\r\n\tregion : {\r\n\t\tlatitude : -33.87365,\r\n\t\tlongitude : 151.20689,\r\n\t\tlatitudeDelta : 0.1,\r\n\t\tlongitudeDelta : 0.1\r\n\t}, //Sydney\r\n\tuserLocation : true,\r\n\tannotations : [],\r\n\tanimate : false\r\n});\r\n \r\nwin.add(mapview);\r\nwin.open();\r\n{code}\r\n \r\nh5. STEPS TO TEST:\r\n\r\n- Create a simple project.\r\n- Update app.js with test code\r\n- Add Map module in tiapp.xml\r\n- Run on android device\r\n \r\nh5. EXPECTED RESULT:\r\n\r\nIt’s working as expected.\r\n\r\nThanks\r\n", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-07-22T08:10:50.000+0000", "updated": "2014-07-28T03:15:58.000+0000" }, { "id": "315242", "author": { "name": "jeremyS", "key": "jeremys", "displayName": "Jeremy Sculfort", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi,\r\nI'm having the very same problem with Ti 3.3.0 and Ti.Map 2.1.6\r\n\r\nThanks for your efforts", "updateAuthor": { "name": "jeremyS", "key": "jeremys", "displayName": "Jeremy Sculfort", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-07-22T11:26:01.000+0000", "updated": "2014-07-22T11:26:01.000+0000" }, { "id": "315935", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello [~jimmie]!\r\n\r\nCan you please take a look into the posted testcase and let me know your results. \r\n\r\nBest Regards,\r\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-07-28T03:16:58.000+0000", "updated": "2014-07-28T03:16:58.000+0000" }, { "id": "317658", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Tested on 3.3.0.GA, works fine. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-08-08T07:01:10.000+0000", "updated": "2014-08-08T07:01:10.000+0000" }, { "id": "324692", "author": { "name": "jimmie", "key": "jimmie", "displayName": "Jimmie Jönsson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello Mauro Parra-Miranda.\r\n\r\nIm terribly sorry that I haven't answered this post earlier.\r\n\r\nI had bound my Jira account to a mail that I don't use that often (while thinking it was to my work mail) so haven't noticed your inputs.\r\n\r\nI also started working on a different project for a while so this project got forgotten, until now. \r\n\r\nI've tested the test case, and it works as expected. Although, while running my old code, the map no longer loads at all until you zoom out, and then the whole map is all blurry (and by \"all blurry\" I really mean blurry, you can't see a thing, only like.. silhouettes of countries)\r\n\r\nThis is when I run the application via Titanium on Android Device. If I remove the Application, and instead download it from Google Play, it works fine again.\r\n\r\nI have no idea if it will come back eventually, but it works for now. \r\n\r\nThank you.\r\n\r\nRegards,\r\nJimmie", "updateAuthor": { "name": "jimmie", "key": "jimmie", "displayName": "Jimmie Jönsson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-19T12:07:39.000+0000", "updated": "2014-09-19T12:07:39.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }