@ciag/sentinel-hub-wms
Version:
a API to create the sentinel ogs requests, and tools to apply on the data
13 lines • 654 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const WMS_1 = require("./WMS");
const WFS_1 = require("./WFS");
const nodeFetch = require("node-fetch");
// is the code is running on node(that does not have fetch) we hijack it with node-fetch to a inner variable used for all fetchs in this module
exports._SafeFetch = globalThis.fetch ? globalThis.fetch.bind(window) : nodeFetch;
var SentinelHub;
(function (SentinelHub) {
SentinelHub.WMS = WMS_1.SentinelHubWms;
SentinelHub.WFS = WFS_1.SentinelHubWfs;
})(SentinelHub = exports.SentinelHub || (exports.SentinelHub = {}));
//# sourceMappingURL=index.js.map