oscarfonts / mapbox-gl-cordova-offline

Offline vector maps in Cordova using Mapbox GL JS
Other
60 stars 36 forks source link

using cordova plugin cordova-spatialite-storage and cordova-sqlite-ext? #57

Open nemrac-v opened 3 years ago

nemrac-v commented 3 years ago

Hi! I have installed the plugin cordova-sqlite-ext in order to work with mapbox-gl-cordova-offline and my mbtiles.

But I also need to access another DB (Spatialite) with the plugin cordova-spatialite-storage in order to use a specific function (asGeoJSON).

When both plugins are installed, then both DB are accessed by only one of the plugins (the one installed the last).

Is there a way I could use one of the plugins to access one DB and the other plugin to acces the other DB? Or maybe access the mbtiles using cordova-spatialite-storage instead of ordova-sqlite-ext?

Thanks!