Skip to content

Add MBTiles offline renderer + layer - #1687

Merged
devemux86 merged 1 commit into
mapsforge:masterfrom
moving-bits:MBTiles
Apr 22, 2025
Merged

devemux86 merged 1 commit into
mapsforge:masterfrom
moving-bits:MBTiles

Conversation

@moving-bits

Copy link
Copy Markdown
Contributor

Adds rendering of bitmap (offline) .mbtiles map files to Mapsforge

See

  • TileMBTilesLayer and related classes in mapsforge-map-android/src/main/java/org/mapsforge/map/android/mbtiles, and
  • sample application MBTilesBitmapActivity in mapsforge-samples-android/src/main/java/org/mapsforge/samples/android

Sample application expects at least one .mbtiles file in the app-specific media folder (typically /Android/media/org.mapsforge.samples.android).

For sample screenshots see cgeo/cgeo#16876

@devemux86

Copy link
Copy Markdown
Collaborator

@moving-bits Thanks, the header of the new classes must contain the Mapsforge license.

@devemux86 devemux86 added this to the 0.26.0 milestone Apr 22, 2025
@devemux86
devemux86 merged commit b4b0edf into mapsforge:master Apr 22, 2025
@devemux86

Copy link
Copy Markdown
Collaborator

@moving-bits Thanks!

@devemux86

Copy link
Copy Markdown
Collaborator

@moving-bits The database must also close at the end of the layer.

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.

2 participants