Properties

$http_: IHttpService
gettextCatalog_: gettextCatalog
goodnessOfFit_: number
ngeoLayerHelper_: LayerHelper
printNativeAngle_: boolean
url_: string
vectorEncoder: default

Methods

  • Cancel a report.

    Parameters

    • ref: string

      Print report reference.

    • Optional opt_httpConfig: IRequestShortcutConfig

      $http config object.

    Returns IHttpPromise<Object>

    HTTP promise.

  • Create a report specification.

    Parameters

    • map: Map

      Map.

    • scale: number

      Scale.

    • rotation: number

      Rotation.

    • dpi: number

      DPI.

    • layout: string

      Layout.

    • format: string

      Formats.

    • customAttributes: {}

      Custom attributes.

      • Optional email: string

        Email to send the file to.

      • Optional goodnessOfFit: number

        Goodness of fit.

      Returns MapFishPrintSpec

      The print spec.

    • Parameters

      • arr: MapFishPrintLayer[]

        Array.

      • layer: BaseLayer

        Layer.

      • resolution: number

        Resolution.

      • destinationPrintDpi: number

        The destination print DPI.

      Returns void

    • Parameters

      • map: Map

        Map.

      • scale: number

        Scale.

      • object: MapFishPrintMap

        Object.

      • destinationPrintDpi: number

        The destination print DPI.

      Returns void

    • Parameters

      • arr: MapFishPrintLayer[]

        Array.

      • layer: VectorLayer<VectorSource<Geometry>>

        Layer.

      • resolution: number

        Resolution.

      • destinationPrintDpi: number

        The destination print DPI.

      Returns void

    • Parameters

      • arr: MapFishPrintLayer[]

        Array.

      • layer: any

        The layer.

      • url: string

        URL of the WMS server.

      • params: {}

        URL parameters

        Returns void

      • Return an opacity value for the specified layer.

        Parameters

        • layer: BaseLayer

          Layer.

        Returns number

        opacity Opacity value.

      • Get the URL of a report.

        Parameters

        • ref: string

          Print report reference.

        Returns string

        The report URL for this ref.

      • Return the WMTS URL to use in the print spec.

        Parameters

        • source: WMTS

          The WMTS source.

        Returns string

        URL.

      Generated using TypeDoc