MazeMap/Leaflet.TileLayer.PouchDBCached

layer.seed() generating wrong "y" tile coordinates with CRS.EPSG4326

bydos opened this issue · 0 comments

bydos commented

Hello,
I have a local geoserver serving TMS tiles cached in a ESPG4326 grid. Similar to http://suite.opengeo.org/geoserver/gwc/service/tms/1.0.0/opengeo%3Acountries@EPSG%3A4326@png/{z}/{x}/{y}.png
The automatic caching of the plugin works fine. (when tms = true and usecache = true)
I am trying to use layer.seed() method to cache a subset of tiles within a BBox and ZoomStart ZoomEnd levels. this only gives wrong urls.
after investigation I found out that the problem reside in 'y' coordinates generation.
here is a link to a simple setup that shows the calculated tiles and the ones recieved.
Any help would be appreciated.
Thank you.