mapkit - MBXMapKit using local .mbtiles database file -


i use mapkit (on osx) display custom map tiles .mbtiles (sqlite) database of sort exported tilemill.

mbxmapkit looks great, , almost i'm looking for. see how, little modification, mbxmapkit tweaked point local .mbtiles database file.

is there way use mbxmapkit framework accomplish without tweaking? did read docs, , couldn't find straightforward answer. did find private method on mbxofflinemapdatabase called -initwithcontentsoffile: sounds promising , looks need -- there watch out if expose , use method?

alternate option subclass mktileoverlay , use -loadtileatpath:result:, easy do, requires managing connection sqlite file etc.

have @ latest on mbtiles support:

https://github.com/mapbox/mbxmapkit/issues/3

it'll coming in next release. should distinct , separate both normal performance cache (nsurlcache) (also sqlite-backed) offline databases, meant individual tile downloads being placed cache one-by-one.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -