Geoportal Extension for OpenLayers API Reference

Class: WMTS

Extended ol.source.WMTS.

new WMTS(options)

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

Options

Extends

  • ol.source.WMTS

Members

constructor

Constructor (alias)

Methods

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

OpenLayers/Sources/WMTS.js, line 49

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.