Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/SuperMap/iClient-JavaScript
/ getType
Function
getType
src/common/util/GeometryAnalysis.js:519–524 ·
view source on GitHub ↗
(geojson)
Source
from the content-addressed store, hash-verified
517
}
518
519
function
getType(geojson) {
520
if
(geojson.
type
===
"Feature"
&& geojson.geometry !== null) {
521
return
geojson.geometry.
type
;
522
}
523
return
geojson.
type
;
524
}
Callers
4
nearestPointToVertex
Method · 0.85
computeGeodesicArea
Method · 0.85
smooth
Method · 0.85
computeParallel
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected