new mapboxgl.supermapServerFeature(geometry, options)
ServerFeature.js, line 6
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
geometry |
mapboxgl.supermapServerGeometry |
The geometry information ServerGeometry from the features. |
|||||||||
options |
Object |
The parameters.
|
Members
-
fieldNamesArray.<string>
-
A property field collection of the graphic object.
-
fieldValuesArray.<string>
-
A property filed collection of the graphic object.
-
geometrymapboxgl.supermapServerGeometry
-
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){mapboxgl.supermapServerFeature}
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 mapboxgl.supermapServerFeature The ServerFeature object. -
toFeature(){mapboxgl.supermapVector}
ServerFeature.js, line 57 -
Converts the ServerFeature on the server to the Feature on the client.
Returns:
Type Description mapboxgl.supermapVector The client features converted.