Skip to content

Commit

Permalink
Remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
underbluewaters committed Feb 23, 2024
1 parent 6c47ac4 commit 0ba48e2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/mapbox-gl-esri-sources/src/ArcGISVectorSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ async function fetchData(
});
const str = await response.text();
bytesReceived += byteLength(str);
console.log("got", bytesReceived, response);
if (bytesLimit && bytesReceived >= bytesLimit) {
const e = new Error(
`Exceeded bytesLimit. ${bytesReceived} >= ${bytesLimit}`
Expand All @@ -267,9 +266,7 @@ async function fetchData(
};
exceededTransferLimit?: boolean;
};
console.log("fc", fc);
if (fc.error) {
console.log("fc.error found", fc.error);
return onError(new Error(fc.error.message));
} else {
featureCollection.features.push(...fc.features);
Expand Down Expand Up @@ -301,7 +298,6 @@ async function fetchData(
}
}

console.log("on page receivved", onPageReceived);
if (onPageReceived) {
onPageReceived(
bytesReceived,
Expand Down

0 comments on commit 0ba48e2

Please sign in to comment.