L.supermap.dataFlowLayer(url, options)
Name | Type | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
The url of data flow layer service. |
||||||||||||||||||||||||||||||||||||
options |
Object |
The optional parameters of the layer.
|
Fires
Extends
Events
-
dataupdated
DataFlowLayer.js, line 136 -
Triggered after the layer data update is successful.
Properties:
Name Type Description layer
Object Update the layer of successful data.
data
Object Updated features.
-
setfilterparamsucceeded
DataFlowLayer.js, line 89 -
Triggered after the filter parameter setting is successful.
Properties:
Name Type Description e
Object Event object.
-
subscribesucceeded
DataFlowLayer.js, line 81 -
Triggered after successful initialization.
Properties:
Name Type Description e
Object Event object.
Methods
-
setExcludeField(excludeField)
DataFlowLayer.js, line 112 -
Set the unique field to be excluded.
Name Type Description excludeField
string The unique field to be excluded.
-
setGeometry(geometry)
DataFlowLayer.js, line 123 -
Set geometry data to be added.
Name Type Description geometry
GeoJSONObject Object of GeoJSON geometry data to be added.