Class: CommontypesConversion

CommontypesConversion

Leaflet对象和SuperMap对象转换工具

L.supermap.CommontypesConversion()

leaflet/core/CommontypesConversion.js, line 5

Methods

staticL.supermap.CommontypesConversion.toProcessingParam(points)

leaflet/core/CommontypesConversion.js, line 54

将Region节点数组转为Processing服务需要的分析参数

Name Type Description
points

Region各个节点数组

Returns:
processing服务裁剪、查询分析的分析参数

staticL.supermap.CommontypesConversion.toSuperMapBounds(bounds){SuperMap.Bounds}

leaflet/core/CommontypesConversion.js, line 10

将Leaflet对象得bounds转成SuperMap 的bounds对象

Name Type Description
bounds L.Bounds | L.LatLngBounds

图层显示范围

Returns:
Type Description
SuperMap.Bounds SuperMap的bounds对象