MCPcopy 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
519function getType(geojson) {
520 if (geojson.type === "Feature" && geojson.geometry !== null) {
521 return geojson.geometry.type;
522 }
523 return geojson.type;
524}

Callers 4

nearestPointToVertexMethod · 0.85
computeGeodesicAreaMethod · 0.85
smoothMethod · 0.85
computeParallelMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected