mapbox / mbutil

Importer and Exporter of MBTiles
http://mapbox.com/developers/
BSD 3-Clause "New" or "Revised" License
755 stars 198 forks source link

Set OSM scheme by default #26

Closed leplatrem closed 12 years ago

leplatrem commented 12 years ago

I wonder why the TMS scheme is used by default, quite disturbing since most tiles layers (leaflet, modestmaps, ...) have ('zxy', 'osm', =slippy map) by default...

(this is not really an issue, just would love to get have explanation/discussion)

tmcw commented 12 years ago

The historical reason is that MBTiles have stored tiles in TMS scheme, so mbutil outputs them in the 'native' scheme by default. The reason we went with TMS originally is because OpenLayers was the main client, and had (and has) insanely awful support for XYZ, and slightly less awful support for TMS.

leplatrem commented 12 years ago

Thank you Tom for taking the time to answer ! If giving priority to OL still looks relevant to you, then this issue can be closed.

tmcw commented 12 years ago

The default is now XYZ, OpenLayers shouldn't be a priority.