2
votes

I'm trying to make an offline map using iOS MapBox SDK. It's easy to make square map (eg. 32x32 tiles) but for some reason it doesn't work when I try to make rectangle map (eg. 40x32 tiles). It loads but it shows only a small portion of the map or skips some tiles. It just doesn't look as it should.

My .mbtiles looks correct, I checked .mbtiles and specification and it doesn't mention that there might be any problem with non-square maps.

Although, .mbtiles that comes with MapBox offline example called control-room-0.2.0.mbtiles is also square so maybe it's not possible for some reason.

Does anyone have experience with something similar?

1

1 Answers

1
votes

A non-square region should work just fine -- there is no limit on this. One way to test your .mbtiles is to upload it to your MapBox account and see if it works on a web map. It sounds like your MBTiles file might have issues.