{"action":"created","issue":{"url":"https://api.github.com/repos/python-visualization/folium/issues/978","repository_url":"https://api.github.com/repos/python-visualization/folium","labels_url":"https://api.github.com/repos/python-visualization/folium/issues/978/labels{/name}","comments_url":"https://api.github.com/repos/python-visualization/folium/issues/978/comments","events_url":"https://api.github.com/repos/python-visualization/folium/issues/978/events","html_url":"https://github.com/python-visualization/folium/issues/978","id":368517359,"node_id":"MDU6SXNzdWUzNjg1MTczNTk=","number":978,"title":"Set Opacity to folium tile layers","user":{"login":"meteoDaniel","id":27021858,"node_id":"MDQ6VXNlcjI3MDIxODU4","avatar_url":"https://avatars1.githubusercontent.com/u/27021858?v=4","gravatar_id":"","url":"https://api.github.com/users/meteoDaniel","html_url":"https://github.com/meteoDaniel","followers_url":"https://api.github.com/users/meteoDaniel/followers","following_url":"https://api.github.com/users/meteoDaniel/following{/other_user}","gists_url":"https://api.github.com/users/meteoDaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/meteoDaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meteoDaniel/subscriptions","organizations_url":"https://api.github.com/users/meteoDaniel/orgs","repos_url":"https://api.github.com/users/meteoDaniel/repos","events_url":"https://api.github.com/users/meteoDaniel/events{/privacy}","received_events_url":"https://api.github.com/users/meteoDaniel/received_events","type":"User","site_admin":false},"labels":[{"id":39008757,"node_id":"MDU6TGFiZWwzOTAwODc1Nw==","url":"https://api.github.com/repos/python-visualization/folium/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-10-10T06:50:54Z","updated_at":"2018-11-06T00:02:25Z","closed_at":"2018-10-12T06:11:43Z","author_association":"NONE","body":"#### Please add a code sample or a nbviewer link, copy-pastable if possible\r\n\r\n```python\r\nbase_map = folium.Map(location=[49.377157, 9.36088], zoom_start=6,\r\n                      tiles='cartodbpositron', attr='Weather Data')\r\n\r\nbase_map.add_tile_layer(tiles='http://weatheroo.net/wordpress/gust/1/{z}/{y}/{x}.png',\r\n                        attr='WGUST',)\r\nbase_map.save('wgust.html')\r\n\r\n```\r\n#### Problem description\r\n\r\nHow to set the opacity of the tile layer ? \r\n\r\n\r\n#### Expected Output\r\nFor JS with OpenLayers you can set like this\r\n```\r\ngust = new ol.layer.Tile({\r\n  opacity: 0.6,\r\n  source: new ol.source.XYZ({\r\n  url: 'http://weatheroo.net/wordpress/gust/'+imagecounter+'/{z}/{y}/{x}.png'\r\n  })\r\n});\r\n```\r\n\r\n#### Output of ``folium.__version__``\r\n0.5.0\r\n"},"comment":{"url":"https://api.github.com/repos/python-visualization/folium/issues/comments/436082059","html_url":"https://github.com/python-visualization/folium/issues/978#issuecomment-436082059","issue_url":"https://api.github.com/repos/python-visualization/folium/issues/978","id":436082059,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjA4MjA1OQ==","user":{"login":"guy1ziv2","id":2092859,"node_id":"MDQ6VXNlcjIwOTI4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/2092859?v=4","gravatar_id":"","url":"https://api.github.com/users/guy1ziv2","html_url":"https://github.com/guy1ziv2","followers_url":"https://api.github.com/users/guy1ziv2/followers","following_url":"https://api.github.com/users/guy1ziv2/following{/other_user}","gists_url":"https://api.github.com/users/guy1ziv2/gists{/gist_id}","starred_url":"https://api.github.com/users/guy1ziv2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guy1ziv2/subscriptions","organizations_url":"https://api.github.com/users/guy1ziv2/orgs","repos_url":"https://api.github.com/users/guy1ziv2/repos","events_url":"https://api.github.com/users/guy1ziv2/events{/privacy}","received_events_url":"https://api.github.com/users/guy1ziv2/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T00:02:25Z","updated_at":"2018-11-06T00:02:25Z","author_association":"NONE","body":"is there any idea when folium will be updated in pypi ?\n\nGuy Ziv\n\nOn Mon, Nov 5, 2018 at 10:56 PM Guy Ziv <guy1ziv2@gmail.com> wrote:\n>\n> update: you are right, it is on the master branch. If one install from github\n> '!pip install -q git+https://github.com/python-visualization/folium'\n> rather than\n> '!pip install folium'\n> then opacity works as expected\n>\n>\n> Guy Ziv\n> On Mon, Nov 5, 2018 at 9:29 PM Frank <notifications@github.com> wrote:\n> >\n> > Are you sure? If can see the argument in the code:\n> > https://github.com/python-visualization/folium/blob/ca745ef8674ad39d26e44fee2c081f3d3089f444/folium/raster_layers.py#L89\n> >\n> > —\n> > You are receiving this because you commented.\n> > Reply to this email directly, view it on GitHub, or mute the thread.\n"}}
{"actor":{"display_login":"guy1ziv2"}}