new SuperMap.UGCLayer(options)
UGCLayer.js, line 6
Name | Type | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Members
-
boundsSuperMap.Bounds
-
Layer bounds.
-
captionstring
-
The caption of the map layer.
-
descriptionstring
-
The description of the layer.
-
namestring
-
Layer name.
-
queryableboolean
-
Whether the object in the layer enables to be queried.
-
subLayersArray
-
Sublayer set.
-
Layer type.
-
visibleboolean
-
Whether to display the overlapped parts of map objects.
Methods
-
destroy()
UGCLayer.js, line 77 -
Disposes the resource. The property that references resource is set to null.
-
fromJson(jsonObject)
UGCLayer.js, line 86 -
Convert the server-side JSON object to the current client object.
Name Type Description jsonObject
Object JSON object to convert.
-
toServerJSONObject(){Object}
UGCLayer.js, line 101 -
Converts to corresponding JSON object.
Returns:
Type Description Object Corresponding JSON object.