Compare commits

...

2 Commits

Author SHA1 Message Date
liyongle 194a4280a2 chore(release): 1.0.1 3 years ago
liyongle 2723d2b3c5 fix: 🧩 地图优化 3 years ago
  1. 7
      CHANGELOG.md
  2. 4
      package-lock.json
  3. 2
      package.json
  4. 12
      public/static/qm/MainMap_QM.js

7
CHANGELOG.md

@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [1.0.1](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.1-B.2...v1.0.1) (2023-08-04)
### Bug Fixes
* 🧩 地图优化 ([2723d2b](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/commit/2723d2b3c5df2cd87f4b755dfd6ae0adf70fa87e))
### [1.0.1-B.2](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.1-B.1...v1.0.1-B.2) (2023-08-03) ### [1.0.1-B.2](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.1-B.1...v1.0.1-B.2) (2023-08-03)

4
package-lock.json

@ -1,12 +1,12 @@
{ {
"name": "vue_cli_ts", "name": "vue_cli_ts",
"version": "1.0.1-B.2",
"version": "1.0.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "vue_cli_ts", "name": "vue_cli_ts",
"version": "1.0.1-B.2",
"version": "1.0.1",
"dependencies": { "dependencies": {
"@better-scroll/core": "^2.5.0", "@better-scroll/core": "^2.5.0",
"@better-scroll/observe-image": "^2.5.0", "@better-scroll/observe-image": "^2.5.0",

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "vue_cli_ts", "name": "vue_cli_ts",
"version": "1.0.1-B.2",
"version": "1.0.1",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",

12
public/static/qm/MainMap_QM.js

@ -2384,12 +2384,12 @@ MainMap_QM.prototype = {
} }
Map_QM.controls.setZoom(zoom) Map_QM.controls.setZoom(zoom)
let vat = Map_QM.mapBackToWorld(centerPoint.x, centerPoint.y, 0); let vat = Map_QM.mapBackToWorld(centerPoint.x, centerPoint.y, 0);
TweenMax.to(Map_QM.controls.object.position, 0.1, {
x: vat.x, delay: 0.1, onComplete: function () {
Map_QM.controls.maxDistance = Map_QM.util.options.maxDis;
}
});
TweenMax.to(Map_QM.controls.target, 0.1, { x: vat.x, y: vat.y, z: vat.z });
Map_QM.controls.maxDistance = Map_QM.util.options.maxDis;
Map_QM.controls.target.set(vat.x, vat.y, vat.z);
Map_QM.controls.object.lookAt(vat.x, vat.y, vat.z);
let angle = Map_QM.util.options.deviceAng ? Map_QM.util.deviceObj.angle : Map_QM.util.mapAngle
Map_QM.rotationAngle(angle)
isJUZ = true; isJUZ = true;
}, },
//底图二维坐标转 3D模型三维坐标 //底图二维坐标转 3D模型三维坐标

Loading…
Cancel
Save