forked from dyf/dyf-vue-ui
增加集成工具坐标系转换
This commit is contained in:
@ -316,3 +316,15 @@ export const removeClass = (ele: HTMLElement, cls: string) => {
|
||||
export const isExternal = (path: string) => {
|
||||
return /^(https?:|http?:|mailto:|tel:)/.test(path);
|
||||
};
|
||||
|
||||
// 导出坐标系转换工具
|
||||
export { default as coordinateTransform } from './coordinate-transform';
|
||||
export type { CoordinatePoint } from './coordinate-transform';
|
||||
export {
|
||||
wgs84ToGcj02,
|
||||
gcj02ToWgs84,
|
||||
wgs84ToGcj02Point,
|
||||
gcj02ToWgs84Point,
|
||||
batchWgs84ToGcj02,
|
||||
batchGcj02ToWgs84
|
||||
} from './coordinate-transform';
|
||||
Reference in New Issue
Block a user