new SuperMap.UGCMapLayer(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.
-
descriptionstring
-
The description of the layer.
-
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.
-
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.
-
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)
UGCMapLayer.js, line 93 -
Convert the server-side JSON object to the current client object.
Name Type Description jsonObject
Object JSON object to convert.
-
toServerJSONObject(){Object}
UGCMapLayer.js, line 103 -
Converts to corresponding JSON object.
Returns:
Type Description Object Corresponding JSON object.