mirage2d 1.2.6 → 1.2.8
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/dist/MirageHttp.es.js +5268 -0
- package/dist/MirageHttp.es.js.map +205 -0
- package/dist/MirageHttp.umd.js +2 -0
- package/dist/MirageHttp.umd.js.map +1263 -0
- package/dist/Tools/SpatialAnalysis.d.ts +6 -0
- package/dist/Tools/defaultStyle.d.ts +1 -2
- package/dist/mirage2d.cjs.js +37 -37
- package/dist/mirage2d.umd.js +37 -37
- package/package.json +1 -1
|
@@ -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 要素
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
* @Description: 功能
|
|
7
7
|
*/
|
|
8
8
|
import { Style } from "ol/style";
|
|
9
|
-
import { IPolylineOption } from "src/base/baseOptionType";
|
|
10
9
|
export declare class MirageDefaultStyle {
|
|
11
10
|
static option: {
|
|
12
11
|
Point: {
|
|
@@ -193,7 +192,7 @@ export declare class MirageDefaultStyle {
|
|
|
193
192
|
static getTipStyle(): Style;
|
|
194
193
|
static getIconStyle(opt: any): Style;
|
|
195
194
|
static getPointStyle(opt: any): Style;
|
|
196
|
-
static getPolylineStyle(opt:
|
|
195
|
+
static getPolylineStyle(opt: any): Style;
|
|
197
196
|
static getTrackLineStyle(feature: any, resolution: any): Style[];
|
|
198
197
|
static getPolygonStyle(opt: any): Style;
|
|
199
198
|
static getBufferStyleStyle(opt: any): Style;
|