I used the code provided in the below link and the jar files mentioned but its not recoginzing "MBTilesMapLayer". Its showing that "MBTilesMapLayer is not a resolved type." What may be the problem?
Asked
Active
Viewed 157 times
1 Answers
3
the problem is that MBTilesMapLayer is in AdvancedMap3D project (https://github.com/nutiteq/hellomap3d/tree/master/AdvancedMap3D) , not in core SDK. You can either clone the project and add it as Android project dependency, or generate JAR file from this with:
- clone AdvancedMap3D project from the github.
- create up-to-date jar file from this project with "mvn package".
- if you use a layer with NDK part (OGR, GDAL, Spatialite), then copy .so files from libs/armeabi files to your project same folder also. MBTiles does not require this.

JaakL
- 4,107
- 5
- 24
- 37