jmapcloud-ng-core-types 1.1.29 → 1.1.31
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/ambient.d.ts +3 -3
- package/index.d.ts +3 -1
- package/index.ts +3 -1
- package/package.json +1 -1
- package/public/core.d.ts +1 -0
package/ambient.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference path="./public/global-aliases.d.ts" />
|
|
2
|
-
|
|
3
|
-
import type { JCoreService } from "./index"
|
|
2
|
+
/// <reference path="./index.d.ts" />
|
|
4
3
|
|
|
5
4
|
declare global {
|
|
6
|
-
|
|
5
|
+
// Expose the core service on the global JMap variable.
|
|
6
|
+
var JMap: import("./index").JCoreService
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export * from "./index"
|
package/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import { Feature, FeatureCollection, LineString, MultiLineString, Point, Polygon
|
|
|
3
3
|
import { JForm as JFormJMC } from "jmapcloud-types"
|
|
4
4
|
import { Store } from "redux"
|
|
5
5
|
|
|
6
|
+
export type { JCoreOptions } from "./public/jmap/startup-options.d.ts"
|
|
7
|
+
|
|
6
8
|
export interface JCoreService extends JCoreMainService {
|
|
7
9
|
Project: JProjectService
|
|
8
10
|
Layer: JLayerService
|
|
@@ -625,7 +627,7 @@ export interface JGeometryService {
|
|
|
625
627
|
checkLocation(location: JLocation): void
|
|
626
628
|
isValidLocation(location: JLocation | undefined): boolean
|
|
627
629
|
isValidBbox(bbox: JBoundaryBox | undefined): boolean
|
|
628
|
-
getNormalizedBbox(bbox: JBoundaryBox, ogcCompliant
|
|
630
|
+
getNormalizedBbox(bbox: JBoundaryBox, ogcCompliant?: boolean): JBoundaryBox
|
|
629
631
|
isValidGeometry(geometry: any): boolean
|
|
630
632
|
checkCircle(circle: JCircle): void
|
|
631
633
|
checkPolygon(polygon: JPolygon): void
|
package/index.ts
CHANGED
|
@@ -2,6 +2,8 @@ import { Feature, FeatureCollection, LineString, MultiLineString, Point, Polygon
|
|
|
2
2
|
import { JForm as JFormJMC } from "jmapcloud-types"
|
|
3
3
|
import { Store } from "redux"
|
|
4
4
|
|
|
5
|
+
export type { JCoreOptions } from "./public/jmap/startup-options.d.ts"
|
|
6
|
+
|
|
5
7
|
export interface JCoreService extends JCoreMainService {
|
|
6
8
|
Project: JProjectService
|
|
7
9
|
Layer: JLayerService
|
|
@@ -624,7 +626,7 @@ export interface JGeometryService {
|
|
|
624
626
|
checkLocation(location: JLocation): void
|
|
625
627
|
isValidLocation(location: JLocation | undefined): boolean
|
|
626
628
|
isValidBbox(bbox: JBoundaryBox | undefined): boolean
|
|
627
|
-
getNormalizedBbox(bbox: JBoundaryBox, ogcCompliant
|
|
629
|
+
getNormalizedBbox(bbox: JBoundaryBox, ogcCompliant?: boolean): JBoundaryBox
|
|
628
630
|
isValidGeometry(geometry: any): boolean
|
|
629
631
|
checkCircle(circle: JCircle): void
|
|
630
632
|
checkPolygon(polygon: JPolygon): void
|
package/package.json
CHANGED