none
Bing ajax map v7 responsiveness RRS feed

  • Question

  • We have an app at Windows Store https://www.microsoft.com/ru-ru/store/apps/%D0%9C%D0%B5%D1%80%D0%B5%D0%B6%D0%B0-%D0%B0%D0%BF%D1%82%D0%B5%D0%BA-ds/9nblggh69gvp

    After app starts. then bing map have huge responsive delay when moving and fully stuck when zooming. If device screen will be turned off and on again (for opened app. whenever you located: on Map, on Home page or Settings page), then map unfreeze and fly like jet.

    What happens with WebView state after screen switch or how can we fix map responsiveness without switch screen?

    Additional info

    - This is Ionic framework app with bing ajax map v7

    - This issue appears on all our testing UWP phones.

    - If screen switched for app in background - nothing happened.

    p.s.: map located at "Home page" - "Наші аптеки" (Our pharms)

    • Moved by Barry Wang Tuesday, May 24, 2016 1:23 AM
    Monday, May 23, 2016 8:03 AM

Answers

  • The Maps app will always be much faster than any app using JavaScript. The Map app is a native map control (written in C++) and uses vector data for rendering which requires a lot less data to be downloaded. The JavaScript map control needs to download a lot of resources just to load.

    It's also worth noting that there is a newer Bing Maps JavaScript control called V8. It is a lot faster than V7, but you will still run into slow loading of map data on mobile devices when not on wifi simply because of the amount of data that has to be downloaded.


    [Blog] [twitter] [LinkedIn]

    Wednesday, June 1, 2016 8:58 PM
  • If your app is targeting the Windows 10 universal store, you can use the same high-performance native map control - you don't need to use the HTML control at all. It's in the Windows.UI.Xam.Controls.Maps namespace.
    Thursday, June 2, 2016 4:10 PM
    Moderator

All replies

  • Hello,

    I'm moving your case to a better forum for support.

    Best regards,

    Barry


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, May 24, 2016 1:24 AM
  • The Maps app will always be much faster than any app using JavaScript. The Map app is a native map control (written in C++) and uses vector data for rendering which requires a lot less data to be downloaded. The JavaScript map control needs to download a lot of resources just to load.

    It's also worth noting that there is a newer Bing Maps JavaScript control called V8. It is a lot faster than V7, but you will still run into slow loading of map data on mobile devices when not on wifi simply because of the amount of data that has to be downloaded.


    [Blog] [twitter] [LinkedIn]

    Wednesday, June 1, 2016 8:58 PM
  • If your app is targeting the Windows 10 universal store, you can use the same high-performance native map control - you don't need to use the HTML control at all. It's in the Windows.UI.Xam.Controls.Maps namespace.
    Thursday, June 2, 2016 4:10 PM
    Moderator