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

Function calcInterval

test/maplibregl/overlay/GraticuleLayerSpec.js:170–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 it('_calcInterval', () => {
169 const interval = map.getZoom();
170 const calcInterval = map => {
171 return map.getZoom();
172 };
173 graticuleLayer.renderer._calcInterval(calcInterval);
174 expect(graticuleLayer.renderer._currLngInterval).toBe(interval);
175 });

Callers

nothing calls this directly

Calls 1

getZoomMethod · 0.45

Tested by

no test coverage detected