mirage2d 1.2.5 → 1.2.7

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.
@@ -114,7 +114,7 @@ export declare class SpatialAnalysis {
114
114
  /**
115
115
  * : 创建多边形网格
116
116
  * @param {string} type 范围datagridType.point hex square triangle
117
- * @param {*} option { box: [0, 0, 0, 0], cellSide: 50 } box 生成四角范围【minLng,minLat,maxLng,maxLat】 cellSide km单位 默认50
117
+ * @param {*} option { box: [0, 0, 0, 0], cellSide: 50 } box 生成四角范围【minLng,minLat,maxLng,maxLat】 cellSide m单位 默认50
118
118
  * @returns {*} 要素数组
119
119
  */
120
120
  static createGrid(type: any, option?: {
@@ -173,6 +173,12 @@ export declare class SpatialAnalysis {
173
173
  * @returns {*} 计算后结果
174
174
  */
175
175
  static transTo3857(box: any): olExtent.Extent;
176
+ /**
177
+ * 转化范围3857to4326
178
+ * @param {number[]} box 四角范围【minX,minY,maxX,maxY】
179
+ * @returns {*} 计算后结果【minLng,minLat,maxLng,maxLat】
180
+ */
181
+ static transExtentTo4326(box: any): olExtent.Extent;
176
182
  /**
177
183
  * 获取要素范围
178
184
  * @param {Feature<Geometry>} feature 要素
@@ -409,7 +409,7 @@
409
409
  "name": "离线影像2",
410
410
  "type": "xyz",
411
411
  "icon": "image/basemaps/gaode_img.png",
412
- "url": "http://192.168.28.251:8111/google/{z}/{x}/{y}.png"
412
+ "url": "http://192.168.28.201:8099/api/Map?Z={z}&X={x}&Y={y}"
413
413
  },
414
414
  {
415
415
  "id": 2017,