Ask a questionAsk a question
 

Answerhow to hide the view control?

  • Thursday, October 29, 2009 4:32 AMIdentita Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    may I know when I load virtual earth map first time, how do I initialize "view control" on the map as minimum size (hide status) with javascript?

    Thanks

Answers

All Replies

  • Saturday, October 31, 2009 2:40 PMRichard_BrundrittMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Not 100% sure what your referring too. Can you provide more details such as which mapping control AJAX, Silverlight, 3D... Perhaps a description of the "view control" your referring to as well.

    Windows Live Developer MVP - http://rbrundritt.spaces.live.com
  • Sunday, November 01, 2009 4:04 AMIdentita Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    When we click right toggle button of "control view toolbar" on the map, "control view toolbar" will be shrinked to small size---toggle button; which located at the corner of map.

    What I need is this status---small size toggle button when I load map first time. How can I do it like this?


    Thanks

  • Sunday, November 01, 2009 12:24 PMRichard_BrundrittMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    You can use the VEMap.SetDashboardSize method to change the size of the dashboard to the small state (http://msdn.microsoft.com/en-us/library/bb412545.aspx )
    Windows Live Developer MVP - http://rbrundritt.spaces.live.com