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

Function getContext

src/leaflet/core/Detector.js:21–24  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

19}
20
21function getContext(context) {
22 var canvas = document.createElement('canvas');
23 return canvas && canvas.getContext(context);
24}

Callers 3

supportWebGLMethod · 0.70
supportWebGL2Method · 0.70
supportCanvasMethod · 0.70

Calls 2

createElementMethod · 0.80
getContextMethod · 0.45

Tested by

no test coverage detected