Print widget

Explore in the sandboxView live

This sample demonstrates how to add a Print widget for a 2D MapView. By default, the Print widget prints a localized date in the printout. This can be customized using the customTextElements property of PrintTemplate.layoutOptions.

Note: printing a SceneView is not possible at this time. Instead, see SceneView.takeScreenshot().

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.