ROGUE-JCTD / MapLoom

MapLoom is a web mapping client based on OpenLayers 3. It provides full-featured editing capabilities for data stores in GeoServer - including PostGIS and GeoGig. For GeoGig layers, it lets you view history, and sync with other GeoGig repositories
MIT License
70 stars 66 forks source link

MBTiles generated through Tilebundler won't allow correct 'Zoom To Data' by default #163

Open BirdSamuel opened 9 years ago

BirdSamuel commented 9 years ago

Once creating an MBTiles through Tilebundler, then publishing it through GeoServer, the bounds are the size of the world by default. A fix for this is at the end of this post.

Steps to recreate:

Then before saving the MBTiles Layer - it's lat/lon bounding box will be something like: [-180, -85, 180, 85] ~ (all approximate numbers, but this is about the size of the entire world in lat/lon)

If you want the Zoom To Data command on MapLoom to work correctly, you must change it to the bounds generated with Tilebundler.