Session ID Support in Azure Maps Similar to Bing Maps V8

Nilesh Khonde 60 Reputation points
2024-09-30T13:36:57.45+00:00

In Bing Maps V8, there's a useful feature where you can use the Map.getCredentials method to retrieve a session ID.

Is there a similar method available in Azure Maps to retrieve a session ID, or could such functionality be added?

Thank you!

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

1 answer

Sort by: Most helpful
  1. rbrundritt 18,061 Reputation points Microsoft Employee
    2024-09-30T15:54:42.23+00:00

    There is no session in Azure Maps and unlikely to ever be any added. Azure Maps is generally less expensive than Bing Maps and has more flexible licensing. With Azure Maps licensing you only pay for what you use and this allows for the pricing to be kept lower and makes it more fair for all users. With sessions it's fairly easy for a single user to generate thousands of transactions in a single session while the average app generates less than 2 transactions in a session. So, the majority end up indirectly paying for the usage of these few apps that heavily leverage sessions. It's been an issue for years in Bing Maps.

    Additionally, a Bing Maps license requires you to estimate how much you will use, and if you overestimate, your loss those transactions, and if you underestimate, there is a premium cost to correct it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.