TMap

(TMap.SetBorderVisibility Method)

Sets the visibility of border panel on the map.
SetBorderVisibility(visible):Void

Parameters

  • visible : Boolean - Set the border around the TMap object visible(true) or invisible(false).
  • Returns

  • Void
  • Example

    The following example set the visibility of the border.
    <div id="mapContainer"  style="width: 640px; height: 400px;"></div>
    <script type="text/javascript">
        var map0 = new TMap(mapContainer, 25.7590256665386, -80.3738769902151, 15, removeBorder, 1, true, "", "hybrid");
       
        function removeBorder() {
            map0.SetBorderVisibility(false); //border is visible by default.
        }
    </script>