{"action":"created","issue":{"url":"https://api.github.com/repos/python-visualization/folium/issues/145","labels_url":"https://api.github.com/repos/python-visualization/folium/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/python-visualization/folium/issues/145/comments","events_url":"https://api.github.com/repos/python-visualization/folium/issues/145/events","html_url":"https://github.com/python-visualization/folium/issues/145","id":94408195,"number":145,"title":"Implementing a good way to handle plugins","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":8,"created_at":"2015-07-10T22:49:10Z","updated_at":"2015-07-12T14:52:27Z","closed_at":null,"body":"Following the discussion with @themiurgo and @ocefpaf in PR https://github.com/python-visualization/folium/pull/144.\r\n\r\n@themiurgo has set the question :\r\n> [This also shows the importance of implementing soon a good way to handle plugins. That way we might have a generic add_plugin(plugin_object) for all the plugins and extra functionalities like this, and no need to make changes to the core object Map and its interface]"},"comment":{"url":"https://api.github.com/repos/python-visualization/folium/issues/comments/120726405","html_url":"https://github.com/python-visualization/folium/issues/145#issuecomment-120726405","issue_url":"https://api.github.com/repos/python-visualization/folium/issues/145","id":120726405,"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-07-12T14:52:27Z","updated_at":"2015-07-12T14:52:27Z","body":"> Also, I like a lot BibMartin@1a04692 . Did you choose the MarkerCluster example on purpose or randomly? MarkerCluster is already present in the folium base template, along with other functionalities that pollute the template. It would be great to handle it as a plugin instead, and keep the base template clean, for the Leaflet core functionalities.\r\n\r\nYES!!!!  I will at a look at this with special care once I get back.  @BibMartin Do not worry about perfection, this is a great start!"}}