(TMap.ShowInfoWindowTabs Method)
Shows an info window with tabs at the given location, which is specified by float value arguments latitude and longitude. The width, height and border of the info window can be specified using the string styleStr. The window label text is given by string myLabel and the window content text to be displayed in the tabs is given by the array myContent. The tab array objects are created using the TtabObject(tab_label,tab_content) function which takes the label and content of the tab as the input.
Public ShowInfoWindowTabs(latitude, longtitude, styleStr, myLabel, myContent):Void
<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() { var tabObj0 = new TTabObject("Latitude",latitude); var tabObj1 = new TTabObject("Longitude",longitute); var tabArr = new Array (); tabArr[0] = tabObj0; tabArr[1] = tabObj1; map0.ShowInfoWindowTabs(latitude, longitute, "border=normal;width=200;height=100", "Info Window with Tabs", tabArr); } </script>