TTabObject

(TTabObject.TTabObject Method)

Creates the tab object with the label and content as specified in the input. These tab objects are provided as one of the input to the ShowInfoWindowTabs().
public TTabObject(tab_label,tab_content):Void

Parameters

  • tab_label : String - Set the label text.
  • tab_content : String - Set the window content text to be displayed in the tab.
  • Returns

  • Void
  • Example

    The following example shows how to create a TTabobject.
    <div id="mapContainer"  style="width: 640px; height: 400px;"></div>
    <script type="text/javascript">
        var map0 = new TMap(mapContainer, 25.7590256665386, -80.3738769902151, 15, mapInit, 1, true, "", "hybrid");
        var tab0 = new TTabObject("Hello", "This is tab0");
    </script>
        

    See also

  • TMap.ShowInfoWindowTabs()
  • TMarker.ShowInfoWindowTabs()

    See Example

    Create Map | TMarker.ShowInfoWindowTabs()