Renaming of getGetFeatureInfoUrl and getGetLegendGraphicUrl
This commit is contained in:
@@ -29,7 +29,7 @@ const map = new Map({
|
||||
map.on('singleclick', function(evt) {
|
||||
document.getElementById('info').innerHTML = '';
|
||||
const viewResolution = /** @type {number} */ (view.getResolution());
|
||||
const url = wmsSource.getGetFeatureInfoUrl(
|
||||
const url = wmsSource.getFeatureInfoUrl(
|
||||
evt.coordinate, viewResolution, 'EPSG:3857',
|
||||
{'INFO_FORMAT': 'text/html'});
|
||||
if (url) {
|
||||
|
||||
Reference in New Issue
Block a user