1 (edited by blackeagleye 2015-07-14 08:27:25)

Topic: offline usage

Online maps can receive the tiles .but don't support tilepackages,for example ,sqlitedb, mbtiles or geopackage,can you add this?

Re: offline usage

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».

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

3 (edited by blackeagleye 2015-07-14 10:34:40)

Re: offline usage

Sorry,I'm a beginner,don't know how to do .may you give me a instance,for example MBTiles? thank you!

Re: offline usage

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?

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.