Skip to content

Commit

Permalink
style(query): Remove console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacura committed Dec 16, 2024
1 parent efd800b commit 3e5925d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions projects/hslayers/components/query/query-wms.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,12 @@ export class HsQueryWmsService {
coordinate: number[],
): void {
if (this.isLayerWmsQueryable(layer)) {
/**
/*
* Reset info panel before new request/set of requests.
* To prevent appending to previous query results
*/
if (this.infoCounter === 0) {
const invisiblePopup: any = this.hsQueryBaseService.getInvisiblePopup();
const invisiblePopup = this.hsQueryBaseService.getInvisiblePopup();
if (invisiblePopup) {
invisiblePopup.contentDocument.body.innerHTML = '';
}
Expand All @@ -283,7 +283,6 @@ export class HsQueryWmsService {
this.hsQueryWmtsService
.parseRequestURL(layer as Layer<WMTS>, coordinate)
.then((res) => {
console.log(res);
this.request(res.url, res.format, coordinate, layer);
});
return;
Expand Down Expand Up @@ -330,7 +329,7 @@ export class HsQueryWmsService {
}
}
if (url) {
this.hsLogService.log(url);
//this.hsLogService.log(url);
if (
['xml', 'html', 'json', 'gml'].some((o) => info_format.includes(o))
) {
Expand Down

0 comments on commit 3e5925d

Please sign in to comment.