Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Get Map Screenshot Activity

Prev Top Next More

Description

The Get Map Screenshot activity takes a screenshot of the currently selected map.

Usage

A workflow could use the Get Map Screenshot activity to capture an image of the user's current map. The workflow could then pass the resulting data URL as an input parameter to the Run Report activity. The report would then be able to use the Base64Decode function to apply the image input parameter to a Picture Box control. Finally, the workflow could use the Display Form activity to present a download link for the report.

Inputs

Height

Optional

Type: Number

The height of the screenshot in pixels. The default is the current map height or a value derived from the width and current aspect ratio.

Width

Optional

Type: Number

The width of the screenshot in pixels. The default is the current map width or a value derived from the height and current aspect ratio.

Outputs

dataUrl

Type: String

The screenshot image as a data URL.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

© 2024 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.41 (dfe743b0)