UWP Application : Map Route API (MapRouteFinder.GetDrivingRouteAsync) does not respond and even no way to refresh or cancel a request RRS feed

  • Question

  • I am trying to draw a route on Map Control in UWP application for desktops for specific locations:

    Start: { Latitude = 33.8917742, Longitude = -87.5261236 } End: { Latitude = 32.318231, Longitude = -86.902298 }

    Caller API: MapRouteFinder.GetDrivingRouteAsync(startPoint, endPoint)

    Issue: after I call, it never respond , It does not accept cancelation token, then I have tried to cancel manually with different approach but does not work. It seems initiator never canceled.

    Note: Bing map site from the browser working correctly but when I am using Map app same issue is there:

    try with:

    Start: 137 5th Ave NE, Carbon Hill, AL 35549
    END: County Road 12 W, Tyler, AL 36785

    Please find Video and Sample Code here:

    Device Info:
    OS Name Microsoft Windows 10 Pro
    Version 10.0.18362 Build 18362
    OS Manufacturer Microsoft Corporation
    System Manufacturer Hewlett-Packard
    System Model HP EliteBook 840 G2
    System Type x64-based PC
    Processor Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2601 Mhz, 2 Core(s), 4 Logical Processor(s)
    BIOS Version/Date Hewlett-Packard M71 Ver. 01.28, 4/18/2019
    SMBIOS Version 2.7
    Embedded Controller Version 150.91
    BIOS Mode Legacy
    BaseBoard Manufacturer Hewlett-Packard
    BaseBoard Product 2216
    BaseBoard Version KBC Version 96.5B
    Platform Role Mobile
    Locale United States
    Time Zone India Standard Time
    Installed Physical Memory (RAM) 12.0 GB
    Total Physical Memory 11.9 GB
    Available Physical Memory 2.38 GB
    Total Virtual Memory 17.1 GB
    Available Virtual Memory 4.07 GB
    Page File Space 5.23 GB
    Kernel DMA Protection Off

    Please let me know in case required more details.

    Amit Tyagi MSDN

    Thursday, October 1, 2020 8:37 AM

All replies

  • Hi Amit,

    The Windows Application uses the same control and we are not able to reproduce your issue.  Could you possibly have a firewall or other software that might be impacting this?

    Our repro:

    Map app screen shot

    Friday, October 2, 2020 7:10 AM