|
@@ -1,31 +1,6 @@
|
|
|
import mitt from 'mitt'
|
|
|
|
|
|
import axios from 'axios' //{ axios } from '@/api'
|
|
|
-//import * as THREE from '@/assets/lib/three.module.min.js'
|
|
|
-/* import libTransform from 'coordtransform';
|
|
|
-
|
|
|
-// 84坐标转高德 (国外地区用84,所以地理注册时填的是84,我这需要转成高德)
|
|
|
-const wgs84ToAMap = (pos ) => {
|
|
|
- const latlng = libTransform.wgs84togcj02(pos.x, pos.y)
|
|
|
- return {
|
|
|
- x: latlng[0],
|
|
|
- y: latlng[1]
|
|
|
- }
|
|
|
-}
|
|
|
-// 高德坐标转84
|
|
|
-const aMapToWgs84 = (pos ) => {
|
|
|
- const latlng = libTransform.gcj02towgs84(pos.x, pos.y)
|
|
|
- return {
|
|
|
- x: latlng[0],
|
|
|
- y: latlng[1]
|
|
|
- }
|
|
|
-}
|
|
|
-window.AMapWith84 = {
|
|
|
- aMapToWgs84, wgs84ToAMap
|
|
|
-}
|
|
|
-新版的融合 支持全景漫游
|
|
|
-
|
|
|
- */
|
|
|
|
|
|
let requestLoadCount = 0
|
|
|
|