(TButton.TButton Method)
Creates the new button object for user defined buttons maintained in a TMap object. The TButton object is the return value of the method AddCustomizedButton (buttonX, buttonY, buttonIconURL) of a specific TMap object. You could get a TButton object through the return value of the method AddCustomizedButton (buttonX, buttonY, buttonIconURL) of a specific TMap object.
public TButton():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() { button=map0.AddCustomizedButton(24, 8,"images/example_15/button.png");; } </script>