@ohuoy/easymap 1.1.11 → 1.1.12

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohuoy/easymap",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "description": "self map easy use",
5
5
  "main": "main.js",
6
6
  "scripts": {
@@ -129,8 +129,11 @@ export default class ThreeScanLayer{
129
129
  await sleep(500)
130
130
  }
131
131
  let elList = this.map._container.getElementsByClassName('esm-font-time')
132
- this.map.theme = this.map.theme ? this.map.theme :this.map.style.stylesheet.theme
133
- console.log('theme:'+this.map.theme.value)
132
+ // this.map.theme = this.map.theme ? this.map.theme :this.map.style.stylesheet.theme
133
+ if(!this.map.theme){
134
+ this.map.theme = this.map.theme ? this.map.theme :this.map.style.stylesheet.theme
135
+ }
136
+ // console.log('theme:'+this.map.theme.value)
134
137
  let color = this.map.theme.value == "dark"?"#fff" : "#000"
135
138
  if(elList.length == 0){
136
139
  await sleep(200)
@@ -233,7 +233,7 @@ export default class ThreeWallLayer{
233
233
  // normals.push(_n.x,_n.y,_n.z)
234
234
  // let arrowHelper = new THREE.ArrowHelper( new THREE.Vector3(_n.x, _n.y, _n.z), new THREE.Vector3( 0, 0, 0 ), 100, 0xffff00 );
235
235
  // this.scene.add(arrowHelper)
236
- console.log(_n)
236
+ // console.log(_n)
237
237
 
238
238
  for(let j in item.data){
239
239
  let h = (j * 1 -1 +noDataLenth) * this.scale