mapbox/TileJSON — pull request #6 by perliedman (2012-05-09 07:39:13+00:00)
Title: Support for other projections

This pull request adds support for other projections than EPSG:900913 to TileJSON.

Support is added by a number of optional properties. If these properties are left out, they default to values that give EPSG:900913, so these changes are backwards compatible.

As a proof of concept, I have also written Leaflet support for this version of TileJSON: https://github.com/perliedman/leaflet-tilejson

An online example is also shown here: http://karta.kartena.se/ - the default map layer is configured using this version of TileJSON, with maps using the EPSG:2400 projection (Swedish local projection RT90).

I have intentionally not changed the version of the spec, as I see this more as a proof of concept currently, and would very much like to hear your input on extending the spec to include support for other projections, if this is something you'd like to consider at all.