MCPcopy
hub / github.com/apache/echarts / cloneShallow

Method cloneShallow

src/coord/geo/Region.ts:287–293  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

285 }
286
287 cloneShallow(name: string): GeoJSONRegion {
288 name == null && (name = this.name);
289 const newRegion = new GeoJSONRegion(name, this.geometries, this._center);
290 newRegion._rect = this._rect;
291 newRegion.transformTo = null; // Simply avoid to be called.
292 return newRegion;
293 }
294}
295
296export class GeoSVGRegion extends Region {

Callers 2

mapDataStatisticFunction · 0.45
loadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected