new L.supermap.ServerFeature(geometry, options)
ServerFeature.js, line 6
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
geometry |
L.supermap.ServerGeometry |
The geometry information ServerGeometry from the features. |
|||||||||
options |
Object |
The parameters.
|
API Relations
As method parameter:
L.supermap.Format.GeoJSON.extract.feature
, L.supermap.GeoFeatureThemeLayer.addFeatures
, L.supermap.GeoFeatureThemeLayer.toFeature
, L.supermap.GeoFeatureThemeLayer.toiClientFeature
, L.supermap.GraphThemeLayer.addFeatures
, L.supermap.graphThemeLayer.addFeatures
, L.supermap.graphThemeLayer.toFeature
, L.supermap.graphThemeLayer.toiClientFeature
, L.supermap.labelThemeLayer.addFeatures
, L.supermap.labelThemeLayer.toFeature
, L.supermap.labelThemeLayer.toiClientFeature
, L.supermap.rangeThemeLayer.addFeatures
, L.supermap.rangeThemeLayer.toFeature
, L.supermap.rangeThemeLayer.toiClientFeature
, L.supermap.rankSymbolThemeLayer.addFeatures
, L.supermap.ThemeLayer.addFeatures
, L.supermap.ThemeLayer.toFeature
, L.supermap.ThemeLayer.toiClientFeature
, L.supermap.uniqueThemeLayer.addFeatures
, L.supermap.uniqueThemeLayer.toFeature
, L.supermap.uniqueThemeLayer.toiClientFeature.
Returned by:
L.supermap.ServerFeature.fromJson.
Members
-
fieldNamesArray.<string>
-
A property field collection of the graphic object.
-
fieldValuesArray.<string>
-
A property filed collection of the graphic object.
-
geometryL.supermap.ServerGeometry
-
The geometry information ServerGeometry from the features.
Methods
-
destroy()
ServerFeature.js, line 43 -
Disposes the resource. The property that references resource is set to null.
-
fromJson(jsonObject){L.supermap.ServerFeature}
ServerFeature.js, line 84 -
Transform the server - side vector feature represented by JSON objects to the ServerFeature.
Name Type Description jsonObjectObject The JSON object to be turned.
Returns:
Type Description L.supermap.ServerFeature The ServerFeature object. -
toFeature(){L.supermap.Feature.Vector}
ServerFeature.js, line 57 -
Converts the ServerFeature on the server to the Feature on the client.
Returns:
Type Description L.supermap.Feature.Vector The client features converted.