locked
Ajax map control display problem with collapsible div RRS feed

  • Question

  • I am placing the ajax control in an outer div that initially has its display set to "none".  When I set the div display to "block" the map control shows up, but there isn't any map inside the control:

    <!---

     <div style="display: none">

        <div id='mapSeekingLocation' style="position: relative; width: 420px; height: 320px;"></div>

     </div>

    -->

     

    Tuesday, September 21, 2010 3:59 PM

Answers

  • When you redisplay the map call the VEMap.Resize method without any parameters. That should fix your issue. This is a common issue that's been in the map control for a while.
    Windows Live Developer MVP - http://rbrundritt.spaces.live.com
    Tuesday, September 21, 2010 9:13 PM
    Moderator