Extended ol.source.WMTS.

ol.source.WMTSExtended

Options

Hierarchy (View Summary)

Constructors

  • Parameters

    • options: {
          apiKey?: string;
          configuration?: any;
          description?: string;
          layer: string;
          legends?: any[];
          metadata?: any[];
          olParams?: any;
          quicklookUrl?: string;
          ssl?: boolean;
          title?: string;
      }

      options for function call.

      • OptionalapiKey?: string

        Access key to Geoportal platform

      • Optionalconfiguration?: any

        configuration (cf. example)

      • Optionaldescription?: string

        description of the layer

      • layer: string

        Layer name (e.g. "ORTHOIMAGERY.ORTHOPHOTOS")

      • Optionallegends?: any[]

        Legends objects associated to the layer

      • Optionalmetadata?: any[]

        Metadata objects associated to the layer

      • OptionalolParams?: any

        other options for ol.source.WMTS function (see ol.source.WMTS)

      • OptionalquicklookUrl?: string

        quicklookUrl of the layer

      • Optionalssl?: boolean

        if set true, enforce protocol https (only for nodejs)

      • Optionaltitle?: string

        title of the layer

    Returns SourceWMTS

    var sourceWMTS = new ol.source.GeoportalWMTS({
    layer : "ORTHOIMAGERY.ORTHOPHOTOS"
    });

Properties

_description: any
_legends: any
_metadata: any
_originators: any
_quicklookUrl: any
_title: any
name: string
service: string

Methods

  • Return the GetFeatureInfo URL for the passed coordinate, resolution, and projection. Return undefined if the GetFeatureInfo URL cannot be constructed.

    Parameters

    • coordinate: Coordinate

      Coordinate.

    • resolution: number

      Resolution.

    • projection: Projection

      Projection.

    • params: any

      GetFeatureInfo params. INFOFORMAT at least should be provided.

    Returns undefined | string

    GetFeatureInfo URL.