MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / callback

Function callback

test/openlayers/mapping/WebMapSpec.js:1182–1191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1180 });
1181
1182 function callback() {
1183 if (!refresh) {
1184 expect(datavizWebmap.baseLayer.name).toEqual('天地图');
1185 refresh = true;
1186 datavizWebmap.refresh();
1187 } else {
1188 expect(datavizWebmap.baseLayer.name).toEqual('百度地图');
1189 done();
1190 }
1191 }
1192 });
1193
1194 it('createSpecLayer_TILE', (done) => {

Callers

nothing calls this directly

Calls 3

expectFunction · 0.85
doneFunction · 0.50
refreshMethod · 0.45

Tested by

no test coverage detected