@ohuoy/easymap 1.0.17 → 1.0.18

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.
@@ -136,7 +136,7 @@
136
136
  siteId:'testid',
137
137
  // text:'2024-01-01', //展示图片时上方显示文本 一般是时间
138
138
  center:[108.7198975,35.0446],
139
- width:517, //图片实际公里数
139
+ width:517/500 * 600, //图片实际公里数
140
140
  distance:6 //设置字体位置
141
141
  }]
142
142
  let scanLayer = emap.map.getLayer('threescan-layer');
@@ -269,7 +269,7 @@ const playAction = (status)=>{
269
269
  return {
270
270
  image:a,
271
271
  center:[108.7198975,35.0446],
272
- width:517, //图片实际公里数
272
+ width:517/500 * 600, //图片实际公里数
273
273
  distance:6, //设置字体位置
274
274
  text:''//同播放图片
275
275
  }
@@ -542,7 +542,7 @@ function intervalMap(){
542
542
  siteId:'testid',
543
543
  // text:'2024-01-01', //展示图片时上方显示文本 一般是时间
544
544
  center:[108.7198975,35.0446],
545
- width:517, //图片实际公里数
545
+ width:517/500 * 600, //图片实际公里数
546
546
  distance:6 //设置字体位置
547
547
  }]
548
548
  let scanLayer = emap.map.getLayer('threescan-layer');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohuoy/easymap",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "self map easy use",
5
5
  "main": "main.js",
6
6
  "scripts": {
@@ -28,7 +28,8 @@
28
28
  "d3-dsv": "^1.1.1",
29
29
  "element-resize-detector": "^1.2.4",
30
30
  "d3-hexbin": "^0.2.2",
31
- "d3-scale": "^2"
31
+ "d3-scale": "^2",
32
+ "regl": "1.6.1"
32
33
  },
33
34
  "devDependencies": {
34
35
  "@babel/core": "^7.24.7",