microsoft / MapsSDK-Unity

This repository contains samples, documentation, and supporting scripts for Maps SDK, a Microsoft Garage project.
MIT License
654 stars 128 forks source link

Offline MAPS #193

Closed NHarishGit closed 1 year ago

NHarishGit commented 1 year ago

My setup is UNITY 2019.4.40 with HoloLens 2 and MAPS-SDK 0.11.2

I have followed the instructions here: https://learn.microsoft.com/en-us/uwp/api/windows.services.maps.offlinemaps.offlinemappackage?view=winrt-22621

AND

I can see that MAP packages are downloaded to my device successfully.

But when I try to launch MAPSession on my HL2 device (which is NOT on internet) using my APP, I get an error message stating:

"Curl error 6: Could not resolve host: platform.bing.com" followed by: "Failed to initialize the MapSession. Device may be offline. =a5B=: Cannot resolve destination host, 0, isHttpError: False, isNetworkError: True"

The whole point of downloading offline maps was to address the situation where internet coverage is lost.

Can someone suggest, what am I doing wrong here ?

NHarishGit commented 1 year ago

I believe, I should explain that my overarching goal is to use BINGs offline maps in Hololens 2 in internet contested environments.

Team, is it it even possible ?

@kircher1

kircher1 commented 1 year ago

Hi, the offline map package you found is for controls built with the XAML MapControl. It's a different framework and system (i.e. not related to Unity SDK), so no this SDK isn't leveraging that. Offline is not possible.

NHarishGit commented 1 year ago

Thank you very much for the clarification @kircher1