FullScreen

(TMap.FullScreen Method)

Maximizes the map to full screen mode.
public FullScreen():Void

Parameters

  • void

    Returns

  • void

    Example

    The following example shows how to set current map view to full screen.
    <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.SetFullScreenButtonVisibility(true);
            map0.FullScreen();
        }
        
    </script>
        

    See also

  • SetSize()
  • SetFullScreenButtonVisibility()

    See example

    Changing the size of the map