@eturnity/eturnity_3d 0.0.9 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_3d",
3
3
  "private": false,
4
- "version": "0.0.9",
4
+ "version": "1.0.0",
5
5
  "main": "dist/main.js",
6
6
  "scripts": {
7
7
  "dev": "vue-cli-service serve --skip-plugins @vue/cli-plugin-eslint",
@@ -15,7 +15,7 @@
15
15
  "express": "^4.18.2",
16
16
  "geo-three": "^0.1.11",
17
17
  "leaflet": "^1.8.0",
18
- "leaflet.gridlayer.googlemutant": "^0.13.5",
18
+ "leaflet.gridlayer.googlemutant": "^0.14.0",
19
19
  "svd-js": "^1.1.1",
20
20
  "three": "^0.149.0",
21
21
  "uuid": "^9.0.0",
@@ -31,14 +31,14 @@
31
31
  "@vue/cli-plugin-babel": "^3.12.1",
32
32
  "@vue/cli-plugin-eslint": "^3.12.1",
33
33
  "@vue/cli-service": "^3.12.1",
34
- "babel-loader": "^9.1.2",
34
+ "babel-loader": "^8.3.0",
35
35
  "eslint": "5.16.0",
36
36
  "eslint-config-prettier": "6.15.0",
37
37
  "eslint-plugin-prettier": "3.4.1",
38
38
  "eslint-plugin-vue": "5.2.3",
39
39
  "html-webpack-plugin": "^3.2.0",
40
40
  "webpack": "^4.46.0",
41
- "webpack-cli": "^5.0.1"
41
+ "webpack-cli": "^4.10.0"
42
42
  },
43
43
  "eslintConfig": {
44
44
  "root": true,
@@ -34,14 +34,14 @@ export default {
34
34
  })
35
35
  this.meshes.backgroundMesh = new THREE.Mesh(planeGeometry, planeMaterial)
36
36
 
37
- this.meshes.backgroundMesh.position.z=0.1
37
+ this.meshes.backgroundMesh.position.z=0
38
38
 
39
39
  //helper grid
40
40
  let helper = new THREE.GridHelper(2000, 100)
41
41
  helper.material.opacity = 0.25
42
42
  helper.material.transparent = true
43
43
  helper.rotateX(-Math.PI / 2)
44
- helper.position.z=-0.1
44
+ helper.position.z=0
45
45
  this.scene.add(helper)
46
46
  this.background_map.add( this.meshes.backgroundMesh )
47
47
  this.background_map.add( helper )
@@ -57,7 +57,7 @@ export default {
57
57
  const coef=Math.cos(this.layoutSettings.layout_latitude*Math.PI/180)
58
58
  this.three_map.scale.set(2*20015111.9287618*coef, 1, 2*20015111.9287618*coef);
59
59
  var coords = UnitsUtils.datumsToSpherical(this.layoutSettings.layout_latitude, this.layoutSettings.layout_longitude)
60
- this.three_map.position.set(-coords.x*coef,-coords.y*coef,-0.1)
60
+ this.three_map.position.set(-coords.x*coef,-coords.y*coef,0)
61
61
  this.scene.add(this.three_map)
62
62
  }else{
63
63
 
@@ -1 +0,0 @@
1
- #canvas3DContainer,#canvas3DContainer>canvas,.frame[data-v-b6f36802]{width:100%;height:100%}