Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Multiple fixes #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Multiple fixes #26

wants to merge 2 commits into from

Conversation

bydos
Copy link

@bydos bydos commented Jan 15, 2017

1- Fix PouchDB 6.x compatibility
2- Fix Tile coordinates generation for TMS layers (y coordinates)
3- Asynchronous call for the recursive SeedOneTile() method
4- Add dbSizeLimit option to avoid excessive seeding (needs more considerations)
5- Extending L.TileLayer to L.TileLayer.PouchDB to avoid conflicts with other plugins that modify internal methods

bydos added 2 commits January 15, 2017 23:15
Fixes:
1- Compatibility with PouchDB 6.x
2- Extending TileLayer to avoid conflicts with other plugins that also modify internal methods of TileLayer
3- Fix the seed() function 
 3.a- Fix the tiles coordinates generation 
 3.b- Fix asynchronous calls of recursive SeedOneTile() method
4- Add dbSizeLimit option to avoid excessive seeding (needs more considerations)
Update L.TileLayer.PouchDBCached.js
@IvanSanchez
Copy link
Contributor

@bydos Looks good, but there are a number of things I'm not happy about. The comments might seem a bit harsh (I don't have the time to write them nicer, sorry!), please have a look at them.

@bydos
Copy link
Author

bydos commented Jan 21, 2017

@IvanSanchez , Yes it was done a bit quickly. It was just to give some orientations, not really a clean PR. I am a little bit busy this couple of days sorry, but when I get enough time I will consider a global review and also some enhancements. Thanks

@kevinejohn
Copy link

Any updates on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants