Mini Map Extender

Last post 4/23/2009 10:57:33 PM by Chris Pietschmann. 1 replies. << Back to Web.Maps.VE v2.0 General
4/16/2009 5:19:22 PM
Arul

Mini Map Extender

Hi,
      Is the Mini map extender having any client side method similar to the  "OnClientMapLoaded" method in the VE.Map. So that I can add "document.getElementById('MSVE_minimap_resize').style.display = "none";" to hide the mini-map size toggle.


4/23/2009 10:57:33 PM
Chris Pietschmann

Re:Mini Map Extender

The MiniMapExtender controls doesn't have an "OnLoaded" event. The MiniMapExtender actually hooks itself to the Map control during it's "OnClientMapLoaded" event. Try placing your "document.getElementById('MSVE_minimap_resize').style.display = "none";" code in your own "OnClientMapLoaded" event hanlder. If the timing doesn't work right, then you may need to use a JavaScript Timer to execute the code after a short delay.