This repository was archived by the owner on Sep 20, 2019. It is now read-only.
This repository was archived by the owner on Sep 20, 2019. It is now read-only.
Unixify Plugins / Leaflet Extensions #176
Open
Description
The current implementation of supporting plugins is very monolithic and puts a lot of complexity into the core of ui-leaflet. Myself and @jessertaylor are proposing we de-scope ui-leaflet and come up with a more plugin framework approach so that we can decorate directives, services, and or factories.
This would put more responsibility on individual repos looking to extend the features of what we provide in house.
Pros:
- code complexity and supporting several plugins should go down
- when a new leaflet plugin is added we wont have to accept a PR from someone to modify the core, they just create a new plugin which we can load dynamically
Cons:
- a lot of existing implementation will have to be rewritten and no longer be compatible. Being this is a 2.0.0 / major break this should be ok.
- developers won't have a one place does it all so less of a convenience
- possible performance overhead.. (if designed poorly).