MCPcopy Index your code
hub / github.com/apache/echarts / isGeoLikeCoordSys

Function isGeoLikeCoordSys

src/coord/CoordinateSystem.ts:267–271  ·  view source on GitHub ↗
(coordSys: CoordinateSystem)

Source from the content-addressed store, hash-verified

265}
266
267export function isGeoLikeCoordSys(coordSys: CoordinateSystem): coordSys is GeoLikeCoordSys {
268 const dimensions = coordSys.dimensions;
269 // Not use coordSys.type === 'geo' because coordSys maybe extended
270 return dimensions[0] === 'lng' && dimensions[1] === 'lat' && !!coordSys.getViewRect;
271}

Callers 2

renderMethod · 0.90
incrementalRenderMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…