{ "id": "152201", "key": "TIMOB-19751", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-02-21T18:14:15.000+0000", "created": "2015-10-20T18:49:15.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_androidmapv2", "qe-manualtest", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "50657", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "155028", "key": "TIDOC-2450", "fields": { "summary": "Undocumented: Ti.Map.StreetViewPanorama", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "51373", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "159634", "key": "MOD-2245", "fields": { "summary": "Android StreetViewPanorama: Expose radius property and add load+error events", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-04-18T07:54:19.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": "Implement street view panorama for map v2: https://developers.google.com/maps/documentation/android-api/streetview\r\nTesting steps:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : \"#fff\"\r\n});\r\n\r\nvar street = Ti.Map.createStreetViewPanorama({position: {latitude:-33.87365, longitude:151.20689}});\r\nwin.open();\r\nwin.add(street);\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Add StreetView to map v2", "creator": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 517, "state": "closed", "name": "2015 Sprint 22 SDK", "startDate": "2015-10-24T00:30:42.059Z", "endDate": "2015-11-07T01:30:00.000Z", "completeDate": "2015-11-09T02:37:29.441Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "368197", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "map PR: https://github.com/appcelerator-modules/ti.map/pull/131", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-28T23:00:48.000+0000", "updated": "2015-10-28T23:00:48.000+0000" }, { "id": "368415", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Code tested with\r\n{code}\r\n// Add in the module\r\nvar MapModule = require('ti.map');\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n\r\nvar street = MapModule.createStreetViewPanorama({\r\n\tposition: {latitude:1.281581286057009, longitude:103.8641372560966}\r\n});\r\n\r\nwin.add(street);\r\nwin.open();\r\n{code}\r\n\r\nPR Merged.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-10-30T06:46:19.000+0000", "updated": "2015-10-30T06:46:19.000+0000" }, { "id": "374617", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the implementation.\r\nWorks as expected.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.4.0.201511241829\r\nTi SDK : 5.2.0.v20160111111831\r\nTi CLI : 5.0.5\r\nAlloy : 1.7.26\r\nMAC Yosemite : 10.10.5\r\nAppc NPM : 4.2.2\r\nAppc CLI : 5.1.0\r\nNode: v0.12.27\r\nNexus 6P - Android 6.0", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-14T22:20:11.000+0000", "updated": "2016-01-14T22:20:11.000+0000" }, { "id": "377445", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "I couldn't get this to work on an Nexus_5_API_23_x86 AVD using 5.2.0.RC, ti.map 2.3.6 and this in {{tiapp.xml}}:\r\n\r\n{code:xml}\r\n\t\r\n \r\n \r\n \r\n \r\n \r\n \r\n\t\r\n\t\tti.map\r\n\t\r\n{code}\r\n\r\nI get:\r\n\r\n{code}\r\n[WARN] System: ClassLoader referenced unknown path: /data/user/0/com.google.android.gms/app_chimera/chimera-module-root/module-a3e4fba11e705727c59ff3116ef21fa4834b9f56/native-libs/x86\r\n[INFO] I/Google Maps Android API: Google Play services client version: 7571000\r\n[INFO] I/Google Maps Android API: Google Play services package version: 8489470\r\n[WARN] ContextImpl: Failed to ensure /sdcard/Android/data/test.street/cache: java.lang.SecurityException: Invalid mkdirs path: /storage/self/primary/Android/data/test.street/cache\r\n[DEBUG] AndroidRuntime: Shutting down VM\r\n{code}\r\n\r\nThe error made me think it was the Android 6 runtime permission thing for external storage. But it ran fine on an Android 6 device. And after recreating exactly the same AVD it worked again as well. So let's hope this was a hiccup.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-02-20T16:02:10.000+0000", "updated": "2016-02-21T18:14:01.000+0000" }, { "id": "382190", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "I don't think it is a question of permisions:\r\n\r\n1. no errors on adb logcat\r\n2. the storage permission is granted.\r\n\r\nI have tested 6.2.0.GA, 6.2.2.GA and 6.3.0 and a patched version of 6.2.2.GA with permissions. in all cases the screen keeps empty. \r\nti.map2.3.6. T he version 2.3.8 is buggy (other story)\r\nHere my code:\r\n\r\n~~~\r\nvar win = Ti.UI.createWindow({\r\n\ttheme : 'Theme.AMAKS',\r\n});\r\nvar position = {\r\n latitude : 56.1309561,\r\n longitude : 40.3559617\r\n};\r\n\r\nvar pano = TiMap.createStreetViewPanorama({\r\n\t\tposition : position,\r\n\t\tpanning : true,\r\n\t\tuserNavigation : true,\r\n\t\tzoom : true,\r\n\t\tstreetNames : true\r\n});\r\nwin.add(pano);\r\nwin.open();\r\n~~~\r\n\r\n", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-08T13:41:45.000+0000", "updated": "2016-04-08T13:41:45.000+0000" }, { "id": "382193", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "Now I found: it works partly: I see in google maps blue colored streets (streetview exists) and if I use this position in native then partly the screen keeps empty.\r\n\r\nIn HTML there are tow steps:\r\n1. calculation of next pano iD depending of latlng (maybe error, because no pano near the point)\r\n2. calling of panno by ID\r\n\r\nIn native code we have only the latlng and not callback for ID or success. \r\n\r\nAnyway: maybe in both worlds are different panos. I think so because the latlng is direct on blue colored street and in app now streetview.", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-08T14:30:10.000+0000", "updated": "2016-04-08T14:30:10.000+0000" }, { "id": "382218", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "Solution: it depends on distance between latlng and next available streetview pano. There is no callback or result.", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-08T17:56:50.000+0000", "updated": "2016-04-08T17:56:50.000+0000" }, { "id": "382295", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~titanium@webmasterei-hamburg.de] I don't entirely follow your findings, but if you think there's a bug we must explore, could you create a new ticket?", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-04-11T08:45:44.000+0000", "updated": "2016-04-11T08:45:44.000+0000" }, { "id": "382297", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "Yes the problem is: there is no message, if google has no panoramo in the near. I will open a ticket. \r\nSecond: the arrows on street partly doenst work. ", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-11T08:49:41.000+0000", "updated": "2016-04-11T08:49:41.000+0000" }, { "id": "382950", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~titanium@webmasterei-hamburg.de] I've done some research and created MOD-2245 to address this.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-04-18T07:39:54.000+0000", "updated": "2016-04-18T07:39:54.000+0000" }, { "id": "382951", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thank you -- it will improve the behaviour of the view. ", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-18T07:54:19.000+0000", "updated": "2016-04-18T07:54:19.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }