Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SuperMap/iClient-JavaScript
/ supportWebGL2
Method
supportWebGL2
src/leaflet/core/Detector.js:10–12 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8
}
9
10
static supportWebGL2() {
11
return
getContext(
'webgl2'
);
12
}
13
14
static supportCanvas() {
15
return
getContext(
'2d'
);
Callers
2
GraphicLayer.js
File · 0.80
constructor
Method · 0.80
Calls
1
getContext
Function · 0.70
Tested by
no test coverage detected