Skip to content

Commit

Permalink
[fix]关闭MapCalculateUtil doc
Browse files Browse the repository at this point in the history
  • Loading branch information
luoxiao-supermap committed Oct 18, 2024
1 parent 9dda83b commit eb5dc2f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/common/util/MapCalculateUtil.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Unit } from '../REST';

/**
* @private
* @function getMeterPerMapUnit
* @description 单位换算,把米|度|千米|英寸|英尺换算成米。
* @category BaseTypes Util
Expand Down Expand Up @@ -44,6 +45,7 @@ export var getMeterPerMapUnit = function(mapUnit) {
};

/**
* @private
* @function getSquareMeterPerMapUnit
* @description 单位换算,把平方米|平方千米|平方英寸|平方英尺换算成平方米。
* @category BaseTypes Util
Expand Down Expand Up @@ -80,6 +82,7 @@ export var getSquareMeterPerMapUnit = function(mapUnit) {


/**
* @private
* @function getWrapNum
* @description 获取该坐标系的经纬度范围的经度或纬度。
* @category BaseTypes Util
Expand Down Expand Up @@ -121,6 +124,7 @@ export function getWrapNum(x, includeMax = true, includeMin = true, range = [-18
}

/**
* @private
* @function conversionDegree
* @description 转换经纬度。
* @category BaseTypes Util
Expand Down Expand Up @@ -151,6 +155,7 @@ export function conversionDegree(degrees) {
}

/**
* @private
* @function scalesToResolutions
* @description 通过比例尺数组计算分辨率数组,没有传入比例尺数组时通过地图范围与地图最大级别进行计算。
* @version 11.0.1
Expand Down Expand Up @@ -206,6 +211,7 @@ export function conversionDegree(degrees) {
});
}
/**
* @private
* @function getZoomByResolution
* @description 通过分辨率获取地图级别。
* @version 11.0.1
Expand Down Expand Up @@ -243,6 +249,7 @@ export function getZoomByResolution(resolution, resolutions) {
}

/**
* @private
* @function scaleToResolution
* @description 通过比例尺计算分辨率。
* @version 11.0.1
Expand Down Expand Up @@ -280,6 +287,7 @@ export function getDpi(scale, resolution, mapUnit) {
}

/**
* @private
* 范围是否相交。
* @param {Array} extent1 范围 1。
* @param {Array} extent2 范围 2。
Expand All @@ -295,6 +303,7 @@ export function getDpi(scale, resolution, mapUnit) {
}

/**
* @private
* 获取两个范围的交集。
* @param {Array} extent1 范围 1。
* @param {Array} extent2 范围 2。
Expand Down

0 comments on commit eb5dc2f

Please sign in to comment.