Geoportal Extension for OpenLayers
API Reference

Class: WMTSExtended

ol.source.WMTSExtended

Extended ol.source.WMTS.

new WMTSExtended(options)

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

Options

Extends

  • ol.source.WMTS

Methods

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

Sources/WMTS.js, line 47

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.