You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wanted to say this is an amazing initiative! Keep up the great work! 👍
Was wondering if reading MBTiles instead of a Tile Servers would be beneficial for your application.
I've created a NodeJS MBTiles binding which I'm currently using in an Electron app, I'm using Leaflet and I've written a custom wrapper to Leaflet to read map tiles directly from the file system instead of reading them from a HTTP connection (local tile server).
Just wanted to say this is an amazing initiative! Keep up the great work! 👍
Was wondering if reading MBTiles instead of a Tile Servers would be beneficial for your application.
I've created a NodeJS MBTiles binding which I'm currently using in an Electron app, I'm using Leaflet and I've written a custom wrapper to Leaflet to read map tiles directly from the file system instead of reading them from a HTTP connection (local tile server).
Library which you will need:
mbtiles-offline
(tons of documentation to get you started)If you need any help implementing this, let me know!
Snippet to extend Leaflet to read MBTiles
Extending the
createTile
method in the Leaflet TileLayer ClassThe text was updated successfully, but these errors were encountered: