mapsforge / vtm

OpenGL vector map library - running on Android, iOS, Desktop and browser.
GNU Lesser General Public License v3.0
272 stars 89 forks source link

MapFragment with SAF-based map and theme selection #1091

Closed moving-bits closed 10 months ago

moving-bits commented 10 months ago

@devemux86 Are you interested in a SAF-extension for MapFragment sample code?

Background: While testing for https://github.com/cgeo/cgeo/issues/15100 I wanted to cross-check VTM fragment example with OAM map and Elevate theme. To be able to run this in an API 33-based emulator I needed to access those file using SAF, so I extended MapFragment accordingly. (Currently the fragment is doing the request for map/theme - this could be changed to let the activity ask for it. Can adapt the code, if you want to merge the example update at all.)

devemux86 commented 10 months ago

@moving-bits thanks, merged via 737143bafddb14d70a66feb8d59b8bbb954b75a6.

moving-bits commented 10 months ago

Thanks, haven't been at my dev machine today yet.