Class: ScreenshotButton

vef.map.tools.ScreenshotButton(map, positionopt)

Represents a simple button to save the current map as an image.

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: