diff --git a/public/static/libs/mapbox/style/floodOneMap.json b/public/static/libs/mapbox/style/floodOneMap.json index 1f1622d..6baaad0 100644 --- a/public/static/libs/mapbox/style/floodOneMap.json +++ b/public/static/libs/mapbox/style/floodOneMap.json @@ -11,7 +11,7 @@ 34.802 ], "zoom": 12.9, - "pitch": 55, + "pitch": 0, "style": "/static/libs/mapbox/style/customs/night-style.json" }, "l7": { diff --git a/public/static/libs/mapbox/style/floodOneMap.json b/public/static/libs/mapbox/style/floodOneMap.json index 1f1622d..6baaad0 100644 --- a/public/static/libs/mapbox/style/floodOneMap.json +++ b/public/static/libs/mapbox/style/floodOneMap.json @@ -11,7 +11,7 @@ 34.802 ], "zoom": 12.9, - "pitch": 55, + "pitch": 0, "style": "/static/libs/mapbox/style/customs/night-style.json" }, "l7": { diff --git a/src/views/xuncha/components/inspection.vue b/src/views/xuncha/components/inspection.vue index e2be768..755387e 100644 --- a/src/views/xuncha/components/inspection.vue +++ b/src/views/xuncha/components/inspection.vue @@ -191,10 +191,10 @@ getCurrentPositon((lng, lat, address) => { // console.log('获取安卓定位参数--', address); let timer = timestampToTime(Date.now()); - let NewLonLat = CoordTransform.gcj02towgs84(Number(lng), Number(lat)); + //let NewLonLat = CoordTransform.gcj02towgs84(Number(lng), Number(lat)); AllData.PostionValue = { patrolDatetime: timer, - lonLat: NewLonLat[0] + ',' + NewLonLat[1], + lonLat: lng + ',' + lat, refType: 'patrolLog', refid: AllData.patrolLogId, userName: pinias.userName,