lundi 1 mars 2021

Software Architecture: Leaflet based package for any web framework (jQuery, React, Angular, etc.)

I have built a package based on leaflet, which contains moving markers (divIcons) and controls via jQuery. There are several exported functions to manipulate these markers (divIcons) using jQuery within these functions.

I'm now considering to integrate this package into jQuery, ReactNative and Angular based apps. Of course, I could keep the internal logic with jQuery and use the exported functions to interact with the map, but I'm wondering if there's a universal approach?

The only thing I could think of is using VanillaJS DOM manipulation. Any other ideas or lightweight libraries?

Thank you!

Aucun commentaire:

Enregistrer un commentaire