This method internally clears out the default info box styles used to give the Bing Maps default info box its look and feel. You are left with a few basic style components to get you started. You can then reference your own CSS classes from within your custom HTML content for your ERO to style your info box as you wish.
The default style sheets that remain after this method is called are listed here:
/* Styles that apply to the info box's containing element whether it has no beak, a rightBeak, or a leftBeak */
.customInfoBox-noBeak,
.customInfoBox-with-rightBeak,
.customInfoBox-with-leftBeak
{
position: absolute;
}
/* Offset the body for the drop-shadow and set the body background and border just for starters (developers can change this easily) */
.customInfoBox-body
{
position: relative;
top: -5px;
left: -5px;
padding: 8px;
border: 1px solid #000;
background-color: #fff;
}
/* Apply a nice default drop-shadow after the default Bing Maps info box styles are cleared */
.customInfoBox-shadow
{
position: relative;
background-color: #ccc;
}
/* Sections of the info box that a developer could style if desired, but have no style when the default Bing Maps info box styles are cleared */
.customInfoBox-previewArea,
.customInfoBox-actionsBackground
{
}
/* Sections of the info box that should not be visible when the default Bing Maps info box styles are cleared */
.customInfoBox-actions,
.customInfoBox-paddingHack
{
display: none;
}
.customInfoBox-beak,
.customInfoBox-progressAnimation
{
visibility: hidden;
}