gis-common 5.1.18 → 5.1.20
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/gis-common.es.js +21 -21
- package/dist/gis-common.umd.js +1 -1
- package/dist/index.d.ts +14 -14
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -401,7 +401,7 @@ export declare interface Coordinate {
|
|
|
401
401
|
|
|
402
402
|
export declare type CoordinateArray = [number, number] | [number, number, number];
|
|
403
403
|
|
|
404
|
-
export declare class {
|
|
404
|
+
export declare class CoordsUtil {
|
|
405
405
|
private static readonly PI;
|
|
406
406
|
private static readonly XPI;
|
|
407
407
|
private static delta;
|
|
@@ -659,18 +659,18 @@ export declare enum EventType {
|
|
|
659
659
|
}
|
|
660
660
|
|
|
661
661
|
export declare const ExceptionUtil: {
|
|
662
|
-
getException(type: string, message
|
|
663
|
-
throwException(msg
|
|
664
|
-
throwColorException(msg
|
|
665
|
-
throwCoordinateException(msg
|
|
666
|
-
throwGeoJsonException(msg
|
|
667
|
-
throwEmptyException(msg
|
|
668
|
-
throwIntegerException(msg
|
|
669
|
-
throwNumberException(msg
|
|
670
|
-
throwArrayException(msg
|
|
671
|
-
throwFunctionException(msg
|
|
672
|
-
throwProcessException(msg
|
|
673
|
-
throwNetworkException(msg
|
|
662
|
+
getException(type: string, message?: string): any;
|
|
663
|
+
throwException(msg?: string): never;
|
|
664
|
+
throwColorException(msg?: string): never;
|
|
665
|
+
throwCoordinateException(msg?: string): never;
|
|
666
|
+
throwGeoJsonException(msg?: string): never;
|
|
667
|
+
throwEmptyException(msg?: string): never;
|
|
668
|
+
throwIntegerException(msg?: string): never;
|
|
669
|
+
throwNumberException(msg?: string): never;
|
|
670
|
+
throwArrayException(msg?: string): never;
|
|
671
|
+
throwFunctionException(msg?: string): never;
|
|
672
|
+
throwProcessException(msg?: string): never;
|
|
673
|
+
throwNetworkException(msg?: string): never;
|
|
674
674
|
};
|
|
675
675
|
|
|
676
676
|
export declare const FileUtil: {
|
|
@@ -871,7 +871,7 @@ export declare const GeoJsonUtil: {
|
|
|
871
871
|
|
|
872
872
|
export declare type GeometryType = 'Point' | 'MultiPoint' | 'LineString' | 'MultiLineString' | 'Polygon' | 'MultiPolygon';
|
|
873
873
|
|
|
874
|
-
export declare class {
|
|
874
|
+
export declare class GeoUtil {
|
|
875
875
|
static readonly toRadian: number;
|
|
876
876
|
static readonly R = 6371393;
|
|
877
877
|
static readonly R_EQU = 6378137;
|