Skip to content

Instantly share code, notes, and snippets.

@cecilemuller
Created March 4, 2012 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cecilemuller/1973130 to your computer and use it in GitHub Desktop.
Save cecilemuller/1973130 to your computer and use it in GitHub Desktop.
Full-width dashboard in Bing Maps AJAX 7.0
/**
* By default, the new dashboard (the white components bar on top of the map) is only 350 pixels wide,
* but you can easily make it use the whole space available with CSS.
*
* "mapContainer" is the id of the div that contains the Map.
* If you are using only one map on the map, you can use ".MicrosoftMap .NavBar" directly
*/
#mapContainer .MicrosoftMap .NavBar {
width: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment