{ "id": "163021", "key": "AC-4432", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2016-10-04T16:09:39.000+0000", "created": "2016-09-06T11:25:12.000+0000", "labels": [ "android", "webView" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-10-10T09:21:42.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I am experiencing an issue on the webview component when switching from the version 5.3.1 GA to 5.4.0 GA. The webview contains some layers: one of them is a tile layer and others are WMS layers. It seems that the opacity param of the WMS layer has not been taken into account by the webview under 5.4.0 GA. The result is that I can see only the WMS images without the underlying cartography. The issue appears on both versions (5.3.1 GA and 5.4.0 GA) when trying to take a screenshot by calling the Ti.Media.taksScreenShot function. Finally, the issue seems to not affect iOS. I attach some screenshots.", "attachment": [ { "id": "60215", "filename": "Pasted image at 2016_09_06 09_26 AM.png", "author": { "name": "micder", "key": "micder", "displayName": "Michele de Rosa", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-06T11:22:49.000+0000", "size": 2196552, "mimeType": "image/png" }, { "id": "60214", "filename": "Pasted image at 2016_09_06 09_28 AM.png", "author": { "name": "micder", "key": "micder", "displayName": "Michele de Rosa", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-06T11:23:14.000+0000", "size": 451211, "mimeType": "image/png" } ], "flagged": false, "summary": "Webview rendering issue on 5.4.0 GA under Android", "creator": { "name": "micder", "key": "micder", "displayName": "Michele de Rosa", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "micder", "key": "micder", "displayName": "Michele de Rosa", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "397642", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Can you share sample code for us to test? we will look into it. Send a list of steps to follow for successful regeneration. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-09-29T15:52:04.000+0000", "updated": "2016-09-29T15:52:04.000+0000" }, { "id": "398470", "author": { "name": "micder", "key": "micder", "displayName": "Michele de Rosa", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\nsorry for the late response. This is a snippet of my HTML code inside the webview:\r\n\r\n{quote}\r\nmap = L.map('map', {\r\n minZoom: 4,\r\n maxZoom: 10,\r\n zoomControl: false,\r\n // measureControl: true,\r\n fullscreenControl: true,\r\n timeDimension: true,\r\n timeDimensionControl: true,\r\n timeDimensionControlOptions: {\r\n playerOptions: {\r\n loop: true\r\n }\r\n },\r\n timeDimensionOptions: {\r\n timeInterval: startDate + \"/PT1H30M\",\r\n period: \"PT15M\",\r\n currentTime: timeMs + 75 * 60 * 1000 // start time 30 mins before current time\r\n }\r\n });\r\n\r\n\r\nbaseLayers['No Background'] = L.tileLayer('https://{s}.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWljZGVyIiwiYSI6ImQwMzE3MzIyZDhiNWRiZGIyYmE3M2NlZjcyYmM3YTBkIn0.hkWDN9OoMhGqI6rHsw02Pw', {\r\n maxZoom: 18,\r\n attribution: 'Map data © OpenStreetMap contributors, ' +\r\n 'CC-BY-SA, ' +\r\n 'Imagery © Mapbox' + ', StormTrack data © Mondometeo, ' +\r\n '© GEO-K',\r\n id: mapType\r\n });\r\n\r\nvar eumsLayerAirMass = L.tileLayer.wms('http://eumetview.eumetsat.int/geoserv/wms', {\r\n minZoom: 0,\r\n maxZoom: 18,\r\n layers: 'meteosat:msg_airmass',\r\n styles: '',\r\n format: 'image/png8',\r\n CRS: 'EPSG:3857',\r\n //TIME: date, \r\n transparent: true,\r\n opacity: opacity,\r\n version: '1.3.0',\r\n zIndex: 1\r\n });\r\n\r\nvar baseAirMass = L.tileLayer('https://{s}.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWljZGVyIiwiYSI6ImQwMzE3MzIyZDhiNWRiZGIyYmE3M2NlZjcyYmM3YTBkIn0.hkWDN9OoMhGqI6rHsw02Pw', {\r\n maxZoom: 18,\r\n attribution: 'Map data © OpenStreetMap contributors, ' +\r\n 'CC-BY-SA, ' +\r\n 'Imagery © Mapbox' + ', StormTrack data © Mondometeo, ' +\r\n '© GEO-K.Credits Eumetsat',\r\n id: mapType,\r\n zIndex: 0\r\n });\r\n\r\nvar eumsGroupAirmass = L.layerGroup();\r\n var tdLayerAirmass = L.timeDimension.layer.wms(eumsLayerAirMass);\r\n \r\n baseAirMass.addTo(eumsGroupAirmass);\r\n tdLayerAirmass.addTo(eumsGroupAirmass);\r\n\r\n baseLayers['Day & Night'] = eumsGroupAirmass;\r\n\r\nbaseLayers['Day & Night'].addTo(map);\r\n\r\nlayerControl = L.control.layers(baseLayers, null, {\r\n collapsed: true,\r\n position: 'topleft'\r\n });\r\n\r\nlayerControl.addTo(map);\r\n{quote}\r\n\r\nI'm using leaflet.\r\n\r\nRegards\r\n\r\nMichele de Rosa", "updateAuthor": { "name": "micder", "key": "micder", "displayName": "Michele de Rosa", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-10T09:21:42.000+0000", "updated": "2016-10-10T09:21:42.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }