L.supermap.CommontypesConversion()
CommontypesConversion.js, line 5
Methods
-
L.supermap.CommontypesConversion.toProcessingParam(points){Object}
CommontypesConversion.js, line 59 -
Transfer the region node array to the analysis parameters required by the Processing service.
Name Type Description points
Array Each node array of the region.
Returns:
Type Description Object Analysis parameters of the Processing service. -
L.supermap.CommontypesConversion.toSuperMapBounds(bounds){SuperMap.Bounds}
CommontypesConversion.js, line 11 -
Turn the bounds object of Leaflet into the bounds object of SuperMap.
Name Type Description bounds
L.Bounds | L.LatLngBounds The bounds object of Leaflet.
Returns:
Type Description SuperMap.Bounds The bounds object of SuperMap