{"action":"created","issue":{"url":"https://api.github.com/repos/python-visualization/folium/issues/290","labels_url":"https://api.github.com/repos/python-visualization/folium/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/python-visualization/folium/issues/290/comments","events_url":"https://api.github.com/repos/python-visualization/folium/issues/290/events","html_url":"https://github.com/python-visualization/folium/pull/290","id":120574025,"number":290,"title":"Add possibility to have unembedded GeoJSON.","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":1,"created_at":"2015-12-05T17:30:30Z","updated_at":"2015-12-05T19:10:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/python-visualization/folium/pulls/290","html_url":"https://github.com/python-visualization/folium/pull/290","diff_url":"https://github.com/python-visualization/folium/pull/290.diff","patch_url":"https://github.com/python-visualization/folium/pull/290.patch"},"body":"Addresses #285.\r\nInstead of having an `embed` option as @ocefpaf suggested, the user shall pass `data=open(filename)` if he wants to have the file embedded, and `data=filename` otherwise.\r\n\r\nNote that the `style_function` cannot be applyed in the latter case, because the file won't be openned.\r\n"},"comment":{"url":"https://api.github.com/repos/python-visualization/folium/issues/comments/162237898","html_url":"https://github.com/python-visualization/folium/pull/290#issuecomment-162237898","issue_url":"https://api.github.com/repos/python-visualization/folium/issues/290","id":162237898,"user":{"login":"ocefpaf","id":950575,"avatar_url":"https://avatars.githubusercontent.com/u/950575?v=3","gravatar_id":"","url":"https://api.github.com/users/ocefpaf","html_url":"https://github.com/ocefpaf","followers_url":"https://api.github.com/users/ocefpaf/followers","following_url":"https://api.github.com/users/ocefpaf/following{/other_user}","gists_url":"https://api.github.com/users/ocefpaf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocefpaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocefpaf/subscriptions","organizations_url":"https://api.github.com/users/ocefpaf/orgs","repos_url":"https://api.github.com/users/ocefpaf/repos","events_url":"https://api.github.com/users/ocefpaf/events{/privacy}","received_events_url":"https://api.github.com/users/ocefpaf/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T19:10:36Z","updated_at":"2015-12-05T19:10:36Z","body":"> Note that the `style_function` cannot be applied in the latter case, because the file won't be opened.\r\n\r\nHow difficult would it be to read the style from the file and still not embed?  We do not need to do this in this PR, but I want to keep that idea around."}}