Topic: offline usage
Online maps can receive the tiles .but don't support tilepackages,for example ,sqlitedb, mbtiles or geopackage,can you add this?
You are not logged in. Please login or register.
Infinity Code Forum → Online Maps Help → offline usage
Online maps can receive the tiles .but don't support tilepackages,for example ,sqlitedb, mbtiles or geopackage,can you add this?
Hello.
Online Maps not support tilepackages out of the box because it requires SQL client.
Terms of Asset Store is forbidden distribute into package any third-party asset and scripts (even open source).
You can add support for tilepackages using Online Maps API.
1. Intercept the request to download the tile (OnlineMaps.OnStartDownloadTile):
http://infinity-code.com/doxygen/online … 18b77ba758
2. Load the texture of tile from tilepackage.
3. Pass the texture into Online Maps.
Example of interception request to download tile «Examples (API Usage) / CustomDownloadTileExample.cs».
Sorry,I'm a beginner,don't know how to do .may you give me a instance,for example MBTiles? thank you!
In theory, we can make a example for you (it will take some time).
But for understand this example, you need advanced knowledge.
Are you sure that it really need for your application?
Infinity Code Forum → Online Maps Help → offline usage
Powered by PunBB, supported by Informer Technologies, Inc.