Geoportal Extension for OpenLayers API Reference

Class: WMTSExtended

ol.source.WMTSExtended

Extended ol.source.WMTS.

new WMTSExtended(options)

OpenLayers/Sources/WMTS.js, line 24
Name Type Description
options Object

Options

Extends

  • ol.source.WMTS

Members

constructor

Constructor (alias)

Methods

getFeatureInfoUrl(coordinate, resolution, projection, params){String|undefined}

OpenLayers/Sources/WMTS.js, line 60

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

Name Type Description
coordinate ol.Coordinate

Coordinate.

resolution Number

Resolution.

projection ol.proj.Projection

Projection.

params Object

GetFeatureInfo params. INFOFORMAT at least should
be provided.

Returns:
URL.