Virtual Earth: Map Control Development
The only way I see of doing this is to make a call to map.HideDashboard because that notification is linked up to the dashboard whenever a map.load call is made. If you do this then you'll need to create your own dashboard.
From what I can tell this is being generated in a method called Msn.VE.NavAction which generates all the controls (and is quite massive) so you'd likely have to override this entire method to prevent that notification from being generated in the first place. Hopefully this is something we can ask Microsoft to allow us to remove in the next VE release.
Hope that helps,
I guess 1 question, does this appear to anyone using the v5 and v4 of the mapping control or just me Just making sure it is not just me
I added 2 buttons, 1 to show the dashboard and 1 to hide the dashboard, it will load hidden and then user can click on show to see it I guess. But I do not like that pop up thing appearing to the right of the dashboard and we can't get rid of it.
Thanks
One option is to set the showSwitch (map mode) param to false when you call the LoadMap constructor. That will dump the popup. I agree it's not optimal to have to provide your own swtich control implementation for the 3D mode, but I've found this addresses that if your end user group doesn't need the immediate invitation to swtich into 3D
VEMap.LoadMap(VELatLong, zoom, style, fixed, mode, showSwitch);
That is strange then -- I am using the first constructor example, and no special css overrides, and I do not get the "see this in virtual earth 3D" balloon:
map.LoadMap(startLatLong,startZoom,
'r',false,VEMapMode.Mode2D,false);
The following two methods do produce the balloon, however...
map.LoadMap(
null,null,null,null,null,null);or
map.LoadMap();