{ "id": "159634", "key": "MOD-2245", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2016-04-18T07:39:27.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "17157", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "issuelinks": [ { "id": "51373", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "152201", "key": "TIMOB-19751", "fields": { "summary": "Android: Add StreetView to map v2", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-03-06T18:52:13.000+0000", "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" } }, "components": [ { "id": "13700", "name": "Map" } ], "description": "With TIMOB-19751 we've added StreetViewPanorama, however as various users found if you Google does not has a StreetViewPanorama near the given position the screen will be black. This is Android-native behaviour, but there are ways we can improve:\r\n\r\n* [setPosition|https://developers.google.com/android/reference/com/google/android/gms/maps/StreetViewPanorama#public-methods] can accept a second {{radius}} argument. We should expose this so that the user can determine in what radius Google should try to find a panorama.\r\n* There is a [workaround|http://stackoverflow.com/a/31695697/4626813] to determine if a panorama has been found. We could implement this and then fire either {{load}} or {{error}} so that the developer can handle this.\r\n\r\nExample with a position that doesn't get you a panorama:\r\n\r\n{code:js}\r\nvar map = require('ti.map');\r\n\r\nvar win = Ti.UI.createWindow();\r\n\r\nwin.add(map.createStreetViewPanorama({\r\n position: { latitude: 52.9168666, longitude: -3.8009094 }\r\n}));\r\n\r\nwin.open(); \r\n{code}", "attachment": [], "flagged": false, "summary": "Android StreetViewPanorama: Expose radius property and add load+error events", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "ti.map 2.3.8", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }