kartena/Proj4Leaflet — Issue #4: Tiles not positioned correctly
Author: turban
Created: 2011-12-08 21:33:19+00:00
State: open

Thanks for your effort on integrating Proj4js with Leaflet!

I've tried to use Proj4Leaflet to load a tilset in UTM33 ([EPSG:25833](http://spatialreference.org/ref/epsg/25833/)):

var map = new L.Map('map', {
crs: L.CRS.proj4js('EPSG:25833', '+proj=utm +zone=33 +ellps=GRS80 +units=m +no_defs'),
scale: function(zoom) {
return 1 / res[zoom];
},
continuousWorld: true
});

The tile URLs generated by Leafet don't correspond to our tileset. Leaflet creates URLs with negative x, y values, while our tileset only have positive x and y values (the tileset origin is upper left).

Does Proj4Leaflet assume a specific tile organization?