Constructor
new ScreenshotButton(map, positionopt)
Constructs a new ScreenshotButton instance.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
map |
Map | The map object. | ||
position |
string |
<optional> |
"top-left" | The position of the button on the map. |
- Source: