MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / toServerJSONObject

Method toServerJSONObject

src/common/iServer/Grid.js:195–209  ·  view source on GitHub ↗

* @function Grid.prototype.toServerJSONObject * @description 转换成对应的 JSON 对象。 * @returns JSON 对象。

()

Source from the content-addressed store, hash-verified

193 * @returns JSON 对象。
194 */
195 toServerJSONObject() {
196 var jsonObject = super.toServerJSONObject();
197
198 if (jsonObject.dashStyle) {
199 if (jsonObject.dashStyle.toServerJSONObject) {
200 jsonObject.dashStyle = jsonObject.dashStyle.toServerJSONObject();
201 }
202 }
203 if (jsonObject.solidStyle) {
204 if (jsonObject.solidStyle.toServerJSONObject) {
205 jsonObject.solidStyle = jsonObject.solidStyle.toServerJSONObject();
206 }
207 }
208 return jsonObject;
209 }
210
211}
212

Callers 9

BoundsSpec.jsFile · 0.45
GridSpec.jsFile · 0.45
ImageSpec.jsFile · 0.45
ThemeRangeSpec.jsFile · 0.45
ServerThemeSpec.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected