MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / _fetchRequest

Method _fetchRequest

src/common/mapping/WebMapV2.js:2961–2972  ·  view source on GitHub ↗
(url, type, options)

Source from the content-addressed store, hash-verified

2959 }
2960
2961 _fetchRequest(url, type, options) {
2962 return FetchRequest.get(url, null, options)
2963 .then((response) => {
2964 return response[type]();
2965 })
2966 .then((results) => {
2967 return results;
2968 })
2969 .catch((error) => {
2970 console.log(error);
2971 });
2972 }
2973
2974 getEpsgCodeWKT(projectionUrl, options) {
2975 if (!projectionUrl) {

Callers 3

_createBingLayerMethod · 0.95
getEpsgCodeWKTMethod · 0.95
getBoundsMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected