How to change the location of scalebar in Bing Maps AJAX Control, Version 7.0? RRS feed

  • Question

  • Hi,

    I am using Bing Maps AJAX Control, Version 7.0 and following is the code to display the map.

    var map = null;        
    function getMap()
         { callback: function() { 
          map = new Microsoft.Maps.Map(document.getElementById('myMap'), 
         {credentials: 'my key', 
        mapTypeId: Microsoft.Maps.MapTypeId.road,showScalebar:true,
        center: new Microsoft.Maps.Location(39.833333, -98.583333),
        zoom: 4,enableClickableLogo:false,
       showMapTypeSelector:false,customizeOverlays: true}); 

    Now, I want change the location of Scalebar and place it on the left side. I am quite to JavaScript and to this API as well.

    I would appreciate if somebody could show me how to do this.



    Wednesday, May 15, 2013 5:03 AM


  • There is not support way to change the location of the scalebar.

    • Marked as answer by Kiran Bandal Wednesday, May 15, 2013 11:03 AM
    Wednesday, May 15, 2013 8:51 AM

All replies