none
Question on Bing Map Billable transaction RRS feed

  • Question

  • Hi,

    We have used following REST service.

    https://dev.virtualearth.net/REST/v1/Locations/ 

    https://dev.virtualearth.net/REST/V1/Routes/Driving 

    We research and found that above service are Billable so we have used session key to reduce billable as shown below. 

      function ClickGeocode() {

            map.getCredentials(MakeBingMapsRESTRequest);

        }

        function MakeBingMapsRESTRequest(sessionKey) {

            //Generate a request URL for the Bing Maps REST services.

            //Use the session key in the request as the Bing Maps key

        }

    We have used following Bing map module in one of our project.

    Microsoft.Maps.loadModule(['Microsoft.Maps.AutoSuggest']) 

    Microsoft.Maps.loadModule("Microsoft.Maps.Clustering") 

    Microsoft.Maps.loadModule('Microsoft.Maps.Search') 

    Microsoft.Maps.loadModule('Microsoft.Maps.Directions') 

    Microsoft.Maps.loadModule('Microsoft.Maps.SpatialDataService') 

    Microsoft.Maps.loadModule('Microsoft.Maps.Traffic') 

    Microsoft.Maps.loadModule('Microsoft.Maps.SpatialMath') 

    Microsoft.Maps.loadModule('Microsoft.Maps.DrawingTools') 

    Microsoft.Maps.loadModule('Microsoft.Maps.HeatMap')

    And we have used the following 

    Microsoft.Maps.Search.SearchManager – To get the latitude/longitude from address. 

    Microsoft.Maps.SpatialDataService.GeoDataAPIManager.getBoundary – to get boundary of selected region 

    Microsoft.Maps.SpatialDataService.QueryAPIManager.search – Search POI 

    Microsoft.Maps.Directions.DirectionsManager – To plot route

    Microsoft.Maps.SpatialMath.getDistanceTo – To get distance between two location

    Microsoft.Maps.ClusterLayer – to plot cluster on map

    We have question are all above module and method also count as billable if yes then what is alternative method to reduce it. For example when we plot one route and then plot another route is this count 2 as billable or it is not billable please confirm. 

    Waiting for your reply.

    Thanks! 


    Balasaheb


    Saturday, January 20, 2018 10:30 AM

Answers

  • All modules automatically make use of sessions and thus any transactions they generate are marked as non-billable. There are some newer API's that are always billable; truck routing, isochrones, distance matrix, and snap to road, but it doesn't look like you are using any of these. 

    If you are using search and directions modules, you shouldn't need to call the Location and Route REST API's. 


    [Blog] [twitter] [LinkedIn]

    Sunday, January 21, 2018 8:24 PM