MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / addShape

Method addShape

src/common/overlay/levelRenderer/Render.js:109–112  ·  view source on GitHub ↗

* @function LevelRenderer.Render.prototype.addShape * @description 添加图形形状到根节点。 * * @param {LevelRenderer.Shape} shape - 图形对象,可用属性全集,详见各 shape。 * @return {LevelRenderer.Render} this。

(shape)

Source from the content-addressed store, hash-verified

107 * @return {LevelRenderer.Render} this。
108 */
109 addShape(shape) {
110 this.storage.addRoot(shape);
111 return this;
112 }
113
114 /**
115 * @function LevelRenderer.Render.prototype.addGroup

Callers 15

RenderSpec.jsFile · 0.80
createThematicFeatureMethod · 0.80
createThematicFeatureMethod · 0.80
createThematicFeatureMethod · 0.80
drawChartsMethod · 0.80
createThematicFeatureMethod · 0.80
GraphThemeLayer.jsFile · 0.80
updateAndAddShapesMethod · 0.80
createThematicFeatureMethod · 0.80
createThematicFeatureMethod · 0.80

Calls 1

addRootMethod · 0.80

Tested by

no test coverage detected