Is the request for start of the session billed? RRS feed

  • Question

  • Hello,

    we are little bit confused about the pricing politics of Bing Maps AJAX Controls. We are planning to buy your solution to our company. We have found this document describing the billable and non-billable ops -

    However we are just wondering if the following operation (session init) belongs to billable operations:

    var map = new Microsoft.Maps.Map(document.getElementById('mapDiv'), {credentials: 'Your Bing Maps Key'});

    Sorry for bothering you but the information is not very clear for us. We understand that after this session initialization, operations with the map are billed. We are designing our web application and we have to consider this.

    Thanks in advance

    Best regards,


    Thursday, December 17, 2015 3:58 PM


  • Loading any of the interactive map controls generates a billable transaction. Requesting a session key from a map that has been loaded is not billable and can be used to make non-billable requests to other Bing Maps services. Note that the Bing Maps V7 control has Search and Directions modules that wrap the REST services and use session keys automatically in the background, so there is no need to use the REST services for that. The only time you would really need a session key is if you are calling any of the REST services directly such as the Elevation service, or if you are storing your data in the Bing Spatial Data Services platform which makes your data available as a spatial REST service. Generally, in a well designed application, where searching is done on the same page as the map, you should only see ne billable transaction per page view of the page that uses Bing Maps. This makes it fairly easy to estimate the number of transactions you would need to purchase.

    Also, I would recommend reaching out to the licensing team as they would be able to assist in these estimates and also recommend other licensing options depending on the type of application you are building. You can contact them here:

    Tuesday, December 22, 2015 6:16 PM