Open Pioneer Trails Packages
    Preparing search index...

    Interface PrintingService

    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".

    interface PrintingService {
        printMap(
            olMap: Map,
            options?: OlMapPrintingOptions,
        ): Promise<PrintResult>;
        printMap(map: MapModel, options?: PrintingOptions): Promise<PrintResult>;
    }

    Hierarchy

    • DeclaredService<"printing.PrintingService">
      • PrintingService
    Index