Starts a map print operation on the specified map.
The promise resolves with the resulting map image or with any error that occurred while printing the map.
Optionaloptions: OlMapPrintingOptionsStarts a map print operation on the specified map.
The promise resolves with the resulting map image or with any error that occurred while printing the map.
Optionaloptions: PrintingOptions
The printing service provides an image of a map as a canvas element or a data URL for a PNG image.
Inject an instance of this service by referencing the interface name
"printing.PrintingService".