new SuperMap.UGCSubLayer(options)
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Extends
Members
-
boundsSuperMap.Bounds
-
Layer bounds.
-
captionstring
-
The caption of the map layer.
-
completeLineSymbolDisplayedboolean
-
Whether to display a complete line symbol.
-
datasetInfoSuperMap.DatasetInfo
-
Dataset information.
-
descriptionstring
-
The description of the layer.
-
displayFilterstring
-
The filter condition for the layer display.
-
joinItemsSuperMap.JoinItem
-
The joinItem class.
-
maxScalenumber
-
The maximum map scale.
-
minScalenumber
-
The minimum map scale.
-
minVisibleGeometrySizenumber
-
The minimum visible size, in pixels, of the geometry object.
-
namestring
-
Layer name.
-
opaqueRatenumber
-
The opacity of the layer.
-
overlapDisplayedboolean
-
Whether to display the overlapped parts of map objects.
-
overlapDisplayedOptions
-
The options to avoid map overlap. It is valid only if overlapDisplayed is false.
-
queryableboolean
-
Whether the object in the layer enables to be queried.
-
representationFieldstring
-
The field storing the representation information.
-
subLayersArray
-
Sublayer set.
-
symbolScalableboolean
-
Whether allowing the symbol size changes along with the layer zoom.
-
symbolScalenumber
-
The natural scale for symbol zoom of the layer.
-
Layer type.
-
ugcLayerTypeSuperMap.LayerType
-
Layer type.
-
visibleboolean
-
Whether to display the overlapped parts of map objects.
Methods
-
inherited destroy()
UGCLayer.js, line 77 -
Disposes the resource. The property that references resource is set to null.
-
inherited destroy()
UGCLayer.js, line 77 -
Disposes the resource. The property that references resource is set to null.
-
fromJson(jsonObject)
UGCSubLayer.js, line 60 -
Convert the server-side JSON object to the current client object.
Name Type Description jsonObject
Object JSON object to convert.
-
toServerJSONObject(){Object}
UGCSubLayer.js, line 89 -
Converts to corresponding JSON object.
Returns:
Type Description Object Corresponding JSON object.