TMap

(TMap.HideInfoWindow Method)

Sets the INFO panel visibility to false i.e. hides the information window.
HideInfoWindow():Void

Parameters

  • Void
  • Returns

  • Void
  • Example

    The following example shows how to hide the information window.
    <div id="mapContainer"  style="width: 640px; height: 400px;"></div>
    <script type="text/javascript">
        var map0 = new TMap(mapContainer, 25.7590256665386, -80.3738769902151, 15, mapLoaded, 1, true, "", "hybrid");
       
      function mapLoaded() {
            map0.ShowInfoWindow(25.7590256665386, -80.3738769902151,
                                    "border=normal;width=200;height=100",
                                    "Info Window without Tabs",
                                    "This is a Simple info window without tabs");
            map0.HideInfoWindow()
        }
        
    </script>
        

    See also

  • ShowInfoWindow()
  • ShowInfoWindowTabs()