(TMap.AddLayer Method)
Adds a layer to the map, which is the container of markers. It creates an object of TLayer.
public AddLayer():Object
<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 layer0=map0.AddLayer(); } </script>