Skip to content

Adds overzoom support to mbtile and NPE fixes#1288

Merged
devemux86 merged 6 commits into
mapsforge:masterfrom
gknisely:gk_overzoom
Apr 25, 2026
Merged

Adds overzoom support to mbtile and NPE fixes#1288
devemux86 merged 6 commits into
mapsforge:masterfrom
gknisely:gk_overzoom

Conversation

@gknisely

@gknisely gknisely commented Apr 23, 2026

Copy link
Copy Markdown

Adds overzoom support to mbtile. Reads min/max zoom from metadata automatically, but also allow the ability to overzoom.

Had a few of NPEs, so I used Claude for support.

MBTilesBitmapTileDataSource.java: was due to getting the get length of the array, but bytes is null.
BitmapTileLoader.java: mTile is null when a tile gets recycled before setTileImage() is called.

@devemux86 devemux86 added this to the 0.28.0 milestone Apr 25, 2026
@devemux86 devemux86 merged commit 7301201 into mapsforge:master Apr 25, 2026
1 check passed
@devemux86

Copy link
Copy Markdown
Collaborator

@gknisely Thanks!

@CodeK1988

Copy link
Copy Markdown

@devemux86 hi mate, I compiled the pbf map file through planetiler to obtain the mbtiles format. I found that when zooming to the maximum level, the map building layers began to be confused. What is the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants