{ "id": "167229", "key": "TIMOB-24613", "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": "2017-04-21T08:29:21.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:39.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": [], "description": "customView works fine in annotation. However, trying to make the view round using borderRadius/color/width makes the annotation non visible.\r\n\r\n{code:js}\r\nvar Map = require('ti.map');\r\nvar mapView = Map.createView();\r\n\r\nvar place = {\r\n latitude: 37.338208,\r\n longitude: -121.886329\r\n};\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar orangePointer = Ti.UI.createView({\r\n width : 50,\r\n height : 50,\r\n borderRadius : 5,\r\n borderWidth : 2,\r\n borderColor : '#fff',\r\n backgroundColor : '#FF6300',\r\n});\r\n\r\nvar annot = Alloy.Globals.Map.createAnnotation({\r\n latitude : place.latitude,\r\n longitude : place.longitude,\r\n customView : orangePointer,\r\n});\r\nmapView.addAnnotation(annot);\r\n\r\nwin.add(mapView);\r\nwin.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: customView is not displayed as annotation on Map when used with borderRadius/Color/Width", "creator": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "environment": "macOS X\r\nStudio 4.8.1.201612050850\r\nSDK 6.0.3\r\nAndroid Emulator and 6.0 Device\r\nAndroid API 23\r\n", "comment": { "comments": [ { "id": "417826", "author": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "body": "In addition, if you create a View (view1) with borderRadius etc, then add this to another View (view2) and use view2 as the customView in the annotation, all seems to work... however, this is a band-aid solution.", "updateAuthor": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "created": "2017-04-21T08:41:11.000+0000", "updated": "2017-04-21T08:41:11.000+0000" }, { "id": "417884", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "-Hey [~isener], can you provide a single JS test-case that our engineers can use to debug it?- Updated your test-case, this should still reproduce it but is more simplified. \r\n\r\n[~gmathews] I remember we had issues with borders on views in the past, maybe we have something ready for this?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-04-22T18:53:22.000+0000", "updated": "2017-04-22T19:00:15.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }