{"action":"created","issue":{"url":"https://api.github.com/repos/python-visualization/folium/issues/144","labels_url":"https://api.github.com/repos/python-visualization/folium/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/python-visualization/folium/issues/144/comments","events_url":"https://api.github.com/repos/python-visualization/folium/issues/144/events","html_url":"https://github.com/python-visualization/folium/pull/144","id":94090268,"number":144,"title":"Add button to enable/disable scrolling","user":{"login":"BibMartin","id":4586863,"avatar_url":"https://avatars.githubusercontent.com/u/4586863?v=3","gravatar_id":"","url":"https://api.github.com/users/BibMartin","html_url":"https://github.com/BibMartin","followers_url":"https://api.github.com/users/BibMartin/followers","following_url":"https://api.github.com/users/BibMartin/following{/other_user}","gists_url":"https://api.github.com/users/BibMartin/gists{/gist_id}","starred_url":"https://api.github.com/users/BibMartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BibMartin/subscriptions","organizations_url":"https://api.github.com/users/BibMartin/orgs","repos_url":"https://api.github.com/users/BibMartin/repos","events_url":"https://api.github.com/users/BibMartin/events{/privacy}","received_events_url":"https://api.github.com/users/BibMartin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-09T16:13:16Z","updated_at":"2015-07-10T19:35:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/python-visualization/folium/pulls/144","html_url":"https://github.com/python-visualization/folium/pull/144","diff_url":"https://github.com/python-visualization/folium/pull/144.diff","patch_url":"https://github.com/python-visualization/folium/pull/144.patch"},"body":"When embedding a leaflet chart in a webpage (in a jupyter notebook, for example), you've got a quite heavy behavior when scrolling your web page : when the charts comes under the mouse cursor, then you zoom into your map instead of scrolling down the page.\r\n\r\nI solve this in adding a small button in the bottom left corner, that toggle the scrolling behavior.\r\n\r\n![capture du 2015-07-09 18 10 52](https://cloud.githubusercontent.com/assets/4586863/8600405/1a9d6984-2666-11e5-8c07-1e8b924b4c06.png)\r\n"},"comment":{"url":"https://api.github.com/repos/python-visualization/folium/issues/comments/120503531","html_url":"https://github.com/python-visualization/folium/pull/144#issuecomment-120503531","issue_url":"https://api.github.com/repos/python-visualization/folium/issues/144","id":120503531,"user":{"login":"themiurgo","id":920728,"avatar_url":"https://avatars.githubusercontent.com/u/920728?v=3","gravatar_id":"","url":"https://api.github.com/users/themiurgo","html_url":"https://github.com/themiurgo","followers_url":"https://api.github.com/users/themiurgo/followers","following_url":"https://api.github.com/users/themiurgo/following{/other_user}","gists_url":"https://api.github.com/users/themiurgo/gists{/gist_id}","starred_url":"https://api.github.com/users/themiurgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themiurgo/subscriptions","organizations_url":"https://api.github.com/users/themiurgo/orgs","repos_url":"https://api.github.com/users/themiurgo/repos","events_url":"https://api.github.com/users/themiurgo/events{/privacy}","received_events_url":"https://api.github.com/users/themiurgo/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T19:35:28Z","updated_at":"2015-07-10T19:35:28Z","body":"I'm not sure it's a good idea to include this functionality in the `__init__` method. If we allow it this time, then any other plugin/functionality we might add in the future should/could also go in the object initialiser. Maybe it's better to move it to a separate method? What do others think about this?\r\n\r\nAlso, before merging, it would be good to include a little test, to make sure that the functionality works (and will keep working in the future)."}}