Skip to content
This repository has been archived by the owner on May 9, 2018. It is now read-only.

Exception raises when mbtiles file is not in the main bundle #39

Closed
andreacremaschi opened this issue Jun 11, 2012 · 1 comment
Closed

Comments

@andreacremaschi
Copy link

RMMBTilesSource: there is an issue when .mbtiles file is not in the app's main bundle: FMDatabaseQueue will throw an exception: "Could not create database queue for path map.mbtiles".

I fixed this just modifying RMMBTilesSource.m:

queue = [[FMDatabaseQueue databaseQueueWithPath:[tileSetURL relativePath]] retain];

with:

queue = [[FMDatabaseQueue databaseQueueWithPath:[tileSetURL path]] retain];
@incanus
Copy link
Contributor

incanus commented Jun 28, 2012

Closed in favor of #43.

@incanus incanus closed this as completed Jun 28, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants