M/impl/control/GetFeatureInfo~GetFeatureInfo


import GetFeatureInfo from 'M/impl/control/GetFeatureInfo';

Main constructor of the class. Creates a GetFeatureInfo control

new GetFeatureInfo(format, options)

impl/ol/control/GetFeatureInfo.js, line 31
Name Type Description
format string

Format response

options Object

Control options

Extends

  • M.impl.Control

Members

module:M/impl/control/GetFeatureInfo~GetFeatureInfo.LOADING_MESSAGE{string}

Loading message

module:M/impl/control/GetFeatureInfo~GetFeatureInfo.regExs{object}

Regular expressions of GetFeatureInfo

buffer{Integer}

Buffer

userFormat{String}

Format response

Methods

activate()

impl/ol/control/GetFeatureInfo.js, line 83

This function adds the event singleclick to the specified map

addTo(map, template)

impl/ol/control/GetFeatureInfo.js, line 66

This function adds the control to the specified map

Name Type Description
map M.Map

to add the plugin

template function

template of this control

buildWMSInfoURL()

impl/ol/control/GetFeatureInfo.js, line 142

buildWMTSInfoURL()

impl/ol/control/GetFeatureInfo.js, line 176

deactivate()

impl/ol/control/GetFeatureInfo.js, line 94

This function remove the event singleclick to the specified map