Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
function
getContext(context) {
22
var
canvas = document.createElement(
'canvas'
);
23
return
canvas && canvas.getContext(context);
24
}
Callers
3
supportWebGL
Method · 0.70
supportWebGL2
Method · 0.70
supportCanvas
Method · 0.70
Calls
2
createElement
Method · 0.80
getContext
Method · 0.45
Tested by
no test coverage detected