Azure Maps Web SDK vs Bing

Chris Cifelli (GREY MATTER LTD) 40 Reputation points Microsoft Vendor
2024-07-01T15:21:26.7733333+00:00

Is Azure Maps Web SDK a true equivalent for Bing Maps iOS-Control and Android-Control or are there any key capability differences? Are geofences created on the Bing SDK able to migrate, or will the need to be recreated in Azure?

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
655 questions
0 comments No comments
{count} votes

Accepted answer
  1. IoTGirl 3,051 Reputation points Microsoft Employee
    2024-07-01T21:55:27.82+00:00

    Hi Chris,

    A geofence is a polygon, or a polyline with the same start and end. As these are geocoordinates, they should be able to shown on any map, Azure, Bing or otherwise.

    The Azure Maps Web SDK should function cross-platform and can be hosted in a web container (WebView) for Mobile Application

    Try the following search options:

    1. https://www.bing.com/search?q=Host%20a%20web%20control%20in%20a%20native%20app
    2. https://www.bing.com/search?q=Host%20a%20web%20control%20in%20an%20android%20app
    3. https://www.bing.com/search?q=Host%20a%20web%20control%20in%20an%20iOS%20app

    Sincerely,

    IoTGirl

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. rbrundritt 16,456 Reputation points Microsoft Employee
    2024-07-02T13:36:51.57+00:00

    Map Web SDK's in general will have a lot more capabilities than native map libraries for most map platforms. The main reason for this is that it is significantly easier to develop web SDKs, and most map platforms build new capabilities their first before bringing them to native SDKs.

    Native SDK's have the potential to have better performance, however, with the Azure Maps Web SDK using native rendering via WebGL, this is generally not noticeable, and with additional optimizations built into the Web SDK, it actually performs better in many cases.

    The main capability that a native SDK that the Azure Maps capability doesn't currently support (atleast without a decent amount of work) is offline maps), although I don't believe the Bing Maps iOS/ Android SDK's support offline maps.

    As for Geofences, it depends on the type of geofence you are dealing with. As far as I'm aware, Bing Maps has never provided any Geofencing API for any platform or as a service. iOS and Android themselves have a native geofencing API that you can run in the background, but that is independent of Bing Maps. For example:

    If by geofence you mean Polygon, yes Azure Maps does support polygons. If you have polygons for Bing Maps you would need to convert the classes to something Azure Maps equivalent (GeoJSON is generally used), however the actually coordinate data will work just as well in Azure Maps. So, just a data model change, not a data change.

    If you are in fact looking for a Geofencing capability beyond what is natively available in mobile SDKs, Azure Mapa also has a geofencing API that is useful for fleet management type applications. You can find a tutorial on this here: https://learn.microsoft.com/en-us/azure/azure-maps/tutorial-iot-hub-maps

    2 people found this answer helpful.
    0 comments No comments