Posted By

wildpeaks on 11/27/10


Tagged

virtualearth bingmaps


Versions (?)

Bing Maps AJAX control 7.0: Full-width Dashboard


 / Published in: CSS
 

URL: http://www.wildpeaks.com

Important: this snipplet has moved to Github.

  1. /**
  2.  * By default, the new dashboard (the white components bar on top of the map) is only 350 pixels wide,
  3.  * but you can easily make it use the whole space available with CSS.
  4.  *
  5.  * "mapContainer" is the id of the div that contains the Map.
  6.  * If you are using only one map on the map, you can use ".MicrosoftMap .NavBar" directly
  7.  */
  8.  
  9. #mapContainer .MicrosoftMap .NavBar {
  10. width: 100%;
  11. }

Report this snippet  

You need to login to post a comment.