L.supermap.turfLayer(options)
TurfLayer.js, line 6
| Name | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
he optional parameters.
|
Extends
Methods
-
process(type, args, callback, addFeaturesToMap)
TurfLayer.js, line 224 -
Process related spatial analysis method provided by Turf.js.
Name Type Default Description typestring The type of the spatial analysis method provided by Turf.js.
argsObject Parameters objects corresponding to the spatial analysis method provided by Turf.js.
callbackfunction The callback after the completion of the spatial analysis, which returns the result of execution.
addFeaturesToMapboolean true optional Weather add to the map or not.