{ "id": "148681", "key": "TIMOB-19011", "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": [], "resolution": null, "resolutiondate": null, "created": "2015-06-11T08:43:52.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "mapView", "module_androidmapv2", "qe-manualtest", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "50116", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "153367", "key": "TIMOB-20113", "fields": { "summary": "Android: Rounded view is not being shown if its size more than screen size", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "51372", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "134944", "key": "TIMOB-18181", "fields": { "summary": "Android: When setting a border radius on an annotation customView, no view (as pin) is displayed", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2016-04-18T06:08:56.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "I recently tried to put a mapview inside another view with rounded borders (ie. with `borderRadius` set), and the result was that the mapview ended up being _blank_ (ie. no map tiles, just the Google logo and the zoom controls). Everything works fine when I remove the `borderRadius` property from the container view.\r\n\r\nAttached a minimal application that shows the problem. Let me know if you need anything else.\r\n\r\nCiao,\r\nMatteo\r\n\r\n\r\n{code:title=index.js}\r\nvar map_view = Ti.UI.createView({\r\n height: Ti.UI.FILL,\r\n width: Ti.UI.FILL,\r\n});\r\nvar map = require('ti.map').createView({\r\n height: Ti.UI.FILL,\r\n width: Ti.UI.FILL,\r\n});\r\nvar button = Ti.UI.createButton({\r\n height: Ti.UI.SIZE,\r\n title: 'Set borderRadius'\r\n});\r\nbutton.addEventListener('click', function() {\r\n map_view.borderRadius = '30dp';\r\n});\r\nvar container = Ti.UI.createView();\r\nvar win = Ti.UI.createWindow();\r\n\r\nmap_view.add(map);\r\ncontainer.add(map_view);\r\ncontainer.add(button);\r\nwin.add(container);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: MapView is blank if the container view has rounded borders", "creator": { "name": "landimatte", "key": "landimatte", "displayName": "Matteo Landi", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "landimatte", "key": "landimatte", "displayName": "Matteo Landi", "active": true, "timeZone": "Europe/Berlin" }, "environment": "os: Mac OS X Yosemite 10.10.3\r\nappc: 0.2.282\r\ntisdk: 4.0.0.GA", "closedSprints": [ { "id": 525, "state": "closed", "name": "2015 Sprint 23 SDK", "startDate": "2015-11-07T01:30:15.519Z", "endDate": "2015-11-21T01:30:00.000Z", "completeDate": "2015-11-23T02:54:27.887Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "365756", "author": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "updateAuthor": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-10-05T04:52:39.000+0000", "updated": "2015-10-05T04:52:39.000+0000" }, { "id": "375139", "author": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "body": "Reverted this fix at https://github.com/appcelerator/titanium_mobile/pull/7641", "updateAuthor": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-01-22T05:58:22.000+0000", "updated": "2016-01-22T05:58:22.000+0000" }, { "id": "376586", "author": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "body": "Maps not rendered is a limitation. They need HW acceleration enabled to work as expected. \r\nhttp://stackoverflow.com/questions/14414222/mapview-not-visible-without-hardware-acceleration-turned-off\r\nhttp://developer.android.com/guide/topics/graphics/hardware-accel.html\r\n\r\nOne option is to enable HW acceleration for 5.0+ devices only since material design relies on HW acceleration. \r\n\r\ncc [~hpham] [~msamah] [~cng]", "updateAuthor": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-02-11T04:26:22.000+0000", "updated": "2016-02-11T04:26:22.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }