Adding Prepared Maps causes Android SDK to crash

3

I am using the Skobbler Android SDK within a cordova plugin. It works fine in ONLINE Mode, showing me the map view. But my goal is to provide maps for OFFLINE navigation. So I followed the following tutorial on prepared maps:

http://sdkblog.skobbler.com/creating-an-app-with-a-pre-bundled-map/

But now in OFFLINE MODE with having added the map files of my area to the SKMaps.zip when trying to display the map view the app crashes with the following error:

libc - Fatal signal 11 (SIGSEGV) at 0x00000044 (code=1)

Any idea what to do here and make it work?

Is there a better tutorial on how to work with prepared maps?

android
skmaps
asked on Stack Overflow Jan 5, 2016 by rotzoll • edited Feb 4, 2016 by SylviA

1 Answer

2

The SDK requires some meta files in order to be able to render the map.

SKMetaDataListener provides a callback ( public void onMetaDataDownloadFinished(int versionNumber) ) that tells you when these meta files are ready. Only after receiving this callback the map can be successfully rendered. See: http://developer.skobbler.com/getting-started/android#sec022a

answered on Stack Overflow Feb 4, 2016 by SylviA

User contributions licensed under CC BY-SA 3.0