Topic: Offline Map-elevation

Hi,
One of the methodes for offline usage is to use Online Maps API,  intercept a request to download the tile, and load it from ANY source, for example: AssetBundle
How to use AssetBundle for offline Mode??
It 's possible to show us in a video  how to use offline mode for tile and elevation ?
Thank you

Re: Offline Map-elevation

Hello.

How to make AssetBundles:
https://docs.unity3d.com/Manual/AssetBu … kflow.html

Example of how to load tiles from Asset Bundles is attached.
To load elevations from Asset Bundles, use OnlineMapsElevationManagerBase.OnGetElevation.
Example:
http://infinity-code.com/atlas/online-m … ample.html

Post's attachments

Attachment icon LoadTilesFromAssetBundles.cs 2.47 kb, 104 downloads since 2019-07-27 

Kind Regards,
Infinity Code Team.

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

Re: Offline Map-elevation

Amen wrote:

Hi,
One of the methodes for offline usage is to use Online Maps API,  intercept a request to download the tile, and load it from ANY source, for example: AssetBundle
How to use AssetBundle for offline Mode??
It 's possible to show us in a video  how to use offline mode for tile and elevation ?
Thank you

Hi Amen, I do face the same situation as you, whereby there is a need for offline usage. For my case, using AssetBundle or Resources is a bad choice because when I tried to import the entire map of my Country into Unity.. Unity will will take forever to import or worst , freezes.

My opinion is to use the CustomDownloadTileExanple to load from file system outside Unity Project. At least this method works for me.