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 type
string The type of the spatial analysis method provided by Turf.js.
args
Object Parameters objects corresponding to the spatial analysis method provided by Turf.js.
callback
function The callback after the completion of the spatial analysis, which returns the result of execution.
addFeaturesToMap
boolean true optional Weather add to the map or not.