If creating a TMS tile layer and setting the option tms to true, the layer will not work properly.
Settings the tms option will enable Leaflet's own TMS logic, which in versions prior to 0.7 was hardwired against spherical Mercator, defeating the purpose of using L.Proj.TileLayer.TMS.
This is extra unfortunate since it looks sensible to enable the TMS option when using TMS.
If creating a TMS tile layer and setting the option
tms
to true, the layer will not work properly.Settings the tms option will enable Leaflet's own TMS logic, which in versions prior to 0.7 was hardwired against spherical Mercator, defeating the purpose of using L.Proj.TileLayer.TMS.
This is extra unfortunate since it looks sensible to enable the TMS option when using TMS.