{ "id": "137818", "key": "AC-840", "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": "2015-09-28T15:47:50.000+0000", "created": "2014-10-08T18:38:57.000+0000", "labels": [ "android", "android-4.2.2", "mapsv2", "maptype", "module", "titanium" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:07.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "-Ti.Map renders the normal map view in both iOS and Android. But when switching to Satellite view, iOS renders everything including annotation and routes. But Android only displays annotation and no routes or any satellite view. Google play services are installed and it's been verified (see attachment). I didn't do anything different for Android as you can see in one of the attachments, iOS renders the routes, the satellite view and the annotation no problem.-\r\n\r\nTi.Map renders all types of maps for iOS. But some of them are blurry for Android and sometimes they don't appear at all. Like if view is zoomed-in or close enough that user would most likely see cross streets and houses, satellite or hybrid view is empty. While still in the same amount of zoom, you move to the left or right or up or down in the map and some satellite view appears but it's blurry. If you zoom out enough, map has all satellite or hybrid view but is blurry. So when user needs to get an idea where this location is and how this route really looks like, they zoom in but that doesn't really help because satellite or hybrid just disappears. Normal map doesn't give that determination sometimes.\r\n\r\nI followed the Titanium documentation for troubleshooting http://docs.appcelerator.com/titanium/3.0/#!/guide/Google_Maps_v2_for_Android-section-36739898_GoogleMapsv2forAndroid-Mapappearsblurry\r\n\r\nThe map module is not contained in a window that is a modal and android:anyDensity attribute in the element is not included in AndroidManifest.xml.\r\n\r\nWhen I zoom out of the map, map is not empty but the satellite view is blurry. But zooming in, only annotation and routes (if there's any) appears.\r\n\r\nThanks in advance to anyone who can fix this in Appcelerator.\r\n", "attachment": [ { "id": "51971", "filename": "first_time_map_loads_nozooming.png", "author": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-14T16:58:01.000+0000", "size": 430289, "mimeType": "image/png" }, { "id": "51858", "filename": "googleplayservicesinstalled.jpg", "author": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-08T18:38:57.000+0000", "size": 22850, "mimeType": "image/jpeg" }, { "id": "51972", "filename": "moving_map_more_to_right.png", "author": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-14T16:58:01.000+0000", "size": 923037, "mimeType": "image/png" }, { "id": "51860", "filename": "satelliteview_in_ios8.jpg", "author": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-08T18:38:57.000+0000", "size": 111671, "mimeType": "image/jpeg" }, { "id": "51859", "filename": "satelliteview.jpg", "author": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-08T18:38:57.000+0000", "size": 33812, "mimeType": "image/jpeg" }, { "id": "51968", "filename": "zoomingout1.png", "author": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-14T16:58:01.000+0000", "size": 1181278, "mimeType": "image/png" }, { "id": "51969", "filename": "zoomingout2.png", "author": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-14T16:58:01.000+0000", "size": 1382958, "mimeType": "image/png" }, { "id": "51970", "filename": "zoomout_alittle_then_move_map.png", "author": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-14T16:58:01.000+0000", "size": 607360, "mimeType": "image/png" } ], "flagged": false, "summary": "ti.map module doesn't show anything or can be blurry in Android if mapType is SATELLITE_TYPE or HYBRID_TYPE", "creator": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium 3.4.0, SDK 3.4.0GA, Alloy 1.5.1, ti.map module version 2.1.4, genymotion, HTC One version 2013 having Android 4.4.2, iphone5s, ios8", "comment": { "comments": [ { "id": "328003", "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 code. It’s not a valid bug. Map SATELLITE_TYPE is working fine for both Ti Classic and Alloy.\r\n\r\nScreenshot Link: http://oi61.tinypic.com/jgku82.jpg\r\n \r\nh5. TESTING ENVIRONMENT:\r\n\r\n Ti SDK 3.4.0.GA\r\n Ti CLI 3.4.0\r\n Alloy 1.5.1\r\n Mac OS X 10.9.5\r\n Android 4.4.2\r\n\r\nh5. TEST CODE ALLOY:\r\n\r\nalloy.js\r\n{code} \r\nAlloy.Globals.Map = require('ti.map');\r\n{code}\r\n\r\nindex.xml\r\n{code} \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nindex.tss\r\n{code} \r\n\"#mapview\" : {\r\n\tmapType: Alloy.Globals.Map.SATELLITE_TYPE,\r\n region : {\r\n latitude:33.74511,\r\n longitude:-84.38993,\r\n latitudeDelta:0.01,\r\n longitudeDelta:0.01\r\n }\r\n},\r\n\"#appcHQ\" : {\r\n latitude: 37.390749,\r\n longitude: -122.081651,\r\n title: \"Appcelerator Headquarters\",\r\n subtitle: \"Mountain View, CA\",\r\n pincolor: Alloy.Globals.Map.ANNOTATION_GREEN\r\n}\r\n{code}\r\n\r\nindex.js\r\n{code} \r\nfunction report(evt) {\r\n Ti.API.info(\"Annotation \" + evt.title + \" clicked, id: \" + evt.annotation.myid);\r\n}\r\n\r\n$.index.open();\r\n{code}\r\n\r\nh5. TEST CODE CLASSIC:\r\n\r\n{code}\r\nvar Map = require('ti.map');\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar annotations = [\r\n\tMap.createAnnotation({\r\n\t\tlatitude: 37.389569,\r\n\t\tlongitude: -122.050212,\r\n\t\ttitle: 'Appcelerator HQ',\r\n\t\tsubtitle: 'Mountain View, CA',\r\n\t\tanimate: true,\r\n\t\tpincolor: Map.ANNOTATION_GREEN,\r\n\t}),\r\n];\r\nvar mapview = Map.createView({\r\n mapType: Map.SATELLITE_TYPE,\r\n region: {\r\n \tlatitude:37.389569,\r\n \tlongitude:-122.050212,\r\n latitudeDelta:.05,\r\n longitudeDelta:.05\r\n },\r\n animate:true,\r\n regionFit:true,\r\n userLocation:false,\r\n annotations: annotations\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 alloy project.\r\n- Update project with test code\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-10-14T10:09:28.000+0000", "updated": "2014-10-14T10:13:42.000+0000" }, { "id": "328004", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello [~jhrockwell]! \r\n\r\nCan you please take a look into the test case provided above? Let me know if works for you as well. \r\n\r\nBest Regards", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-10-14T10:14:46.000+0000", "updated": "2014-10-14T10:14:46.000+0000" }, { "id": "328055", "author": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I've solved the problem for the routes. But satellite map either doesn't show up or it's blurry. ", "updateAuthor": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-14T16:58:01.000+0000", "updated": "2014-10-14T16:58:01.000+0000" }, { "id": "328056", "author": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Mauro, \r\n\r\nI've used the same code Harish Mridha provided before I started my project. I basically copied and pasted this code which is from the Titanium Map Module documentations to my current project. I only changed the region and annotation's latitude and longitude. The coordinates I used for region and annotation are same. My region's latitudeDelta and longitudeDelta are both 0.018. \r\n\r\nWhat I'm trying to say is that it still doesn't work. Maybe the map and these coordinates you guys are testing on are cached so they load.\r\n\r\nI'm going to provide more HTC One (2013 model) screenshots. \r\n\r\nWhen you zoom out of the map, the map isn't grey and empty anymore and satellite view appears *but* it's burry. When you move around the map, *some parts that have satellite are blurry and some parts are empty.*\r\n\r\nI'm not sure what's wrong and why your tests and replications work *but mine doesn't*. Could you guys please try these coordinates: latitude: 36.138828, longitude: -115.238204 for region and annotation?\r\n\r\nThis is what I did:\r\n {code}\r\nvar map = makeMapView();\r\nmakeRoute(map);\r\n$.win.add(map);\r\n\r\nfunction makeMapView() {\r\n\tvar mapview = Alloy.Globals.Map.createView({\r\n\t\tmapType : Alloy.Globals.Map.HYBRID_TYPE,\r\n\t\tregion : makeRegion(),\r\n\t\tanimate : true,\r\n\t\tregionFit : true,\r\n\t\tuserLocation : true,\r\n\t\tannotations : [makeAnnotation()],\r\n\t\t\r\n\t});\r\n\r\n\treturn mapview;\r\n}\r\n\r\nfunction makeAnnotation() {\r\n\t/* Create the Annotation here */\r\n\tvar annotation;\r\n\tif (data) {\r\n\r\n\t\tannotation = Alloy.Globals.Map.createAnnotation({\r\n\t\t\t// latitude : 42.334537,\r\n\t\t\t// longitude : -71.170101,\r\n\t\t\t// title : \"Boston College\",\r\n\t\t\t// subtitle : 'Newton Campus, Chestnut Hill, MA',\r\n\t\t\t// animate : true,\r\n\r\n\t\t\tlatitude : /*36.18123, //*/\r\n\t\t\tdata.latitude,\r\n\t\t\tlongitude : /*-115.187969, //*/\r\n\t\t\tdata.longitude,\r\n\t\t\ttitle : data.trail_name,\r\n\t\t\t// subtitle : 'Mountain View, CA',\r\n\t\t\tpincolor : Alloy.Globals.Map.ANNOTATION_RED,\r\n\t\t\tmyid : 1\r\n\t\t});\r\n\t}\r\n\r\n\treturn annotation;\r\n}\r\n\r\nfunction makeRegion() {\r\n\t/* We make a region so that Ti.Map knows where in the map\r\n\t we need to view the routes and the annotation. */\r\n\tvar region;\r\n\r\n\tif (data) {\r\n\t\tregion = {\r\n\t\t\tlatitude : /*36.18123, // */\r\n\t\t\tparseFloat(data.latitude),\r\n\t\t\tlongitude : /* -115.187969,*/\r\n\t\t\tparseFloat(data.longitude),\r\n\t\t\tlatitudeDelta : 0.018,\r\n\t\t\tlongitudeDelta : 0.018\r\n\t\t};\r\n\t}\r\n\treturn region;\r\n}\r\n{code}\r\n*variable data is not empty.* If it's empty, there wouldn't be annotation or routes on my latest uploaded screenshots.\r\n\r\nI've retraced all my steps that titanium has advised developer in working with Map.Module for Android for a few days now. I even went back to google developer console to check if I have my api keys right and the app id's right. I have internet connection via wifi on this HTC One phone. \r\n\r\nFor now, I'm going to use the Titanium WebView using either a googlemap for javascript or the a jQuery plugin because I've done everything Titanium documentation has stated and searched on google and nothing fixes the blurry-ness or empty-ness of the Map.Module for Android.", "updateAuthor": { "name": "jhrockwell", "key": "jhrockwell", "displayName": "June Rockwell", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-14T17:06:53.000+0000", "updated": "2014-10-14T17:08:40.000+0000" }, { "id": "362421", "author": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hi ,\r\nI tested the issue you reported. It looks like the feature \"*mapType is SATELLITE_TYPE or HYBRID_TYPE*\" in Appcelerator Studio is working fine for me. Coordinates with latitude: 36.138828, longitude: -115.238204 for region and annotation is also working as expected. \r\nI tested this using the *studio build: 4.1.1.201507141126 , TiSDK 4.1.0GA,alloy -v 1.6.2 and ti.map 2.3.1*\r\n*Tested Android Devices*\r\n{code}\r\nNexus 7\r\n ID = 07b926cf\r\n SDK Version = 5.1.1 (android-22)\r\n ABIs = armeabi-v7a, armeabi, armeabi-v7a,armeabi, armeabi-v7a,armeabi, \r\n{code}\r\nI recommend you upgrade studio and ti.map module to the latest build and let us know if you get the error again.\r\nI will mark this ticket as \"resolved\" since I can't reproduce it. However, feel free to reopen with additional information if you notice otherwise.\r\nThanks", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-07T08:32:27.000+0000", "updated": "2015-09-28T15:47:38.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }