Skip to content

Commit

Permalink
working on #43: removed some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
helllth committed Feb 19, 2021
1 parent dbfb7f9 commit 2576da6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/redux/modules/starkregen.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,6 @@ function getFeatureInfo(mapEvent) {
if (/Edge/.test(navigator.userAgent)) {
valueKey = 'value';
}
console.log('xxx getFetureInfoRequestUrl', getFetureInfoRequestUrl);

fetch(getFetureInfoRequestUrl)
.then((response) => {
if (response.ok) {
Expand All @@ -303,8 +301,6 @@ function getFeatureInfo(mapEvent) {
.then((data) => {
const parser = new DOMParser();
const xmlDoc = parser.parseFromString(data, 'text/xml');
console.log('xxx xmlDoc', xmlDoc);

const value = parseFloat(xmlDoc.getElementsByTagName(valueKey)[0].textContent, 10);

dispatch(setCurrentFeaturSelectedSimulation(localState.selectedSimulation));
Expand Down

0 comments on commit 2576da6

Please sign in to comment.