This repository was archived by the owner on Aug 25, 2023. It is now read-only.
Repository navigation
Issue3 mbtiles - #110
Merged
13 commits merged intoJul 1, 2014
Merged
Issue3 mbtiles#110 13 commits merged into
13 commits merged into
Conversation
added 13 commits
May 18, 2014 23:19
MBTiles functionality is now all implemented in MBXMBTilesOverlay.
MBTiles functionality is now all implemented in MBXMBTilesOverlay.
… into issue3-mbtiles Conflicts: MBXMapKit/MBXMBTilesOverlay.m
Implemented unified sqlite connection per overlay Viewcontroller of test app correctly deallocs overlays after mapview disappears Added two mbtiles files for testing (Courtesy of @wsnook) Renamed mbtiles metadata key constants
Closed
ghost
pushed a commit
that referenced
this pull request
Jul 1, 2014
Merging this into mapbox/mbxmapkit issue3-mbtiles to try it out.
|
Two things I noticed...
However, it generally seems to work well, which is good. I'll look at this some more tomorrow. |
Contributor
Author
|
@wsnook Mhmm, then we could use a hybrid solution where we use a concurrent queue and have a separate connection for every tile we load. It would still be asynchronous but have your implementation's speed ... probably. |
|
@tkrajacic If you want to keep working on this, here's what I'd suggest:
Thanks for all the work you've been doing on mbtiles! |
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I transferred now all functionality to the Overlay class.
You might not want to pull my open-streets-dc.mbtiles file (as your files are way better suited I think and it would take up useless space in the repo forever).
I would then (in case you pull this) nuke my fork and refork again, to get rid of my mbtiles file as well and then include your old mbtiles files and update the viewcontroller accordingly.
Does this make sense to you or am I talking in riddles?
Interestingly I always thought that Apple removes an overlay when going over its maximumZ but it is not that way (anymore?). Apple now does its own interpolating, but not very predictable (it will only interpolate what is still in cache it seems)