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

MapInfo is null (Map file metadata) #1046

Closed moiatto closed 1 year ago

moiatto commented 1 year ago
MapFileTileSource tileSource = new MapFileTileSource();
tileSource.setMapFileInputStream(fis);

// Get MAP supported languages
MapInfo mapInfo = tileSource.getMapInfo();
if (mapInfo != null)
    Log.d(TAG, "MapsForge: MAP info: " + mapInfo.languagesPreference);

tileSource is loaded correctly but mapInfo is always null.

I tried maps V5 (maps): albania.map italy.map andorra.map cyprus.map

Any suggestions?