PruneCluster icon indicating copy to clipboard operation
PruneCluster copied to clipboard

Beautiful API

Open fungiboletus opened this issue 10 years ago • 5 comments

The current API can be improved. The version 2 should have something closer to the Leaflet API.

  • [ ] Sanitize user inputs
  • [ ] GeoJSON support
  • [ ] Separate documentation examples and unit tests

fungiboletus avatar Dec 19 '14 16:12 fungiboletus

Let me know how I can help with this. I'd be glad to.

RobbieTheWagner avatar Dec 19 '14 18:12 RobbieTheWagner

I think we should start by writing the documentation. If the documentation is hard to write, the API should be improved.

Feel free to edit the wiki page. However the page is currently empty. I will fill it slowly in the next months.

fungiboletus avatar Jan 13 '15 16:01 fungiboletus

If you can put an example up on the wiki of how you would like the docs to be, I'd be glad to help fill them in.

RobbieTheWagner avatar Jan 13 '15 16:01 RobbieTheWagner

:+1: It would be awesome if L.PruneCluster would extend L.FeatureGroup like other clustering plugins, so it could be used in combination with things like leaflet-layerJSON.

rigid avatar Jun 14 '15 15:06 rigid

I'm thinking about an API providing input streams where the user can push GeoJson documents. I don't know if it's a good idea, but at least it's something :D

fungiboletus avatar Jul 22 '15 18:07 fungiboletus