jmapcloud-ng-core-types 1.0.7 → 1.0.9
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/index.ts +3 -8
- package/package.json +5 -5
- package/public/core.d.ts +1241 -1353
- package/public/jmap/extension.d.ts +4 -2
- package/public/jmap/map.d.ts +0 -14
- package/public/jmap/user.d.ts +2 -2
package/index.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Feature, FeatureCollection, LineString, MultiLineString, Point, Polygon } from "geojson"
|
|
2
|
-
import { Map } from "maplibre-gl"
|
|
3
2
|
import { Store } from "redux"
|
|
4
3
|
|
|
5
4
|
export interface JCoreService extends JCoreMainService {
|
|
@@ -681,7 +680,7 @@ export interface JMapService {
|
|
|
681
680
|
Selection: JMapSelectionService
|
|
682
681
|
Basemap: JMapBasemapService
|
|
683
682
|
Attribution: JMapAttributionService
|
|
684
|
-
getMap(): Map
|
|
683
|
+
getMap(): maplibregl.Map
|
|
685
684
|
getMapJSLib(): any
|
|
686
685
|
getDomContainerId(): string
|
|
687
686
|
getAllDistanceUnits(): JMAP_DISTANCE_UNITS[]
|
|
@@ -709,14 +708,10 @@ export interface JMapService {
|
|
|
709
708
|
setMapInfoControlVisibility(isVisible: boolean): void
|
|
710
709
|
isMapInfoControlExpanded(): boolean
|
|
711
710
|
setMapInfoControlExpansion(isExpanded: boolean): void
|
|
712
|
-
isLayerRendered(layerId: JId): boolean
|
|
713
|
-
getLayersVisibilityStatus(): JMapLayersVisibilityStatus
|
|
714
|
-
getLayersVisibilityStatusAsArray(): JMapLayerVisibilityStatus[]
|
|
715
711
|
getMaplibreSupportedJMapLayerIds(): JId[]
|
|
716
712
|
getMaplibreSupportedJMapLayerIdBefore(layerId: JId): JId | undefined
|
|
717
713
|
getMaplibreSupportedJMapLayerIdAfter(layerId: JId): JId | undefined
|
|
718
714
|
refreshLayerById(layerId: JId): void
|
|
719
|
-
getRenderedJMapLayerIds(): JId[]
|
|
720
715
|
getRenderedFeatures(layerId: JId, params?: JLocation | JBoundaryBox | JCircle | JGetRenderedFeaturesParams): Feature[]
|
|
721
716
|
getSourceFeatures(layerId: JId, params?: JGetSourceFeaturesParams): Feature[]
|
|
722
717
|
getRenderedFeaturesAttributeValues(
|
|
@@ -826,8 +821,8 @@ export interface JMapFilterService {
|
|
|
826
821
|
}
|
|
827
822
|
|
|
828
823
|
export interface JProjectionService {
|
|
829
|
-
reprojectLocation(location: JLocation, toProjection: string, fromProjection?: string): JLocation
|
|
830
|
-
reprojectBoundaryBox(boundaryBox: JBoundaryBox, toProjection: string, fromProjection?: string): JBoundaryBox
|
|
824
|
+
reprojectLocation(location: JLocation, toProjection: string, fromProjection?: string): Promise<JLocation>
|
|
825
|
+
reprojectBoundaryBox(boundaryBox: JBoundaryBox, toProjection: string, fromProjection?: string): Promise<JBoundaryBox>
|
|
831
826
|
}
|
|
832
827
|
|
|
833
828
|
export interface JProjectService {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jmapcloud-ng-core-types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "JMap Cloud specific version of JMap Cloud NG Core types and interfaces",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/k2geospatial/jmapcloud-ng-core-types#readme",
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"typedoc": "^0.
|
|
31
|
+
"typedoc": "^0.25.13"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@types/geojson": "^7946.0.
|
|
34
|
+
"@types/geojson": "^7946.0.14",
|
|
35
35
|
"geojson": "^0.5.0",
|
|
36
|
-
"maplibre-gl": "^3.
|
|
37
|
-
"redux": "^
|
|
36
|
+
"maplibre-gl": "^4.3.1",
|
|
37
|
+
"redux": "^5.0.1"
|
|
38
38
|
}
|
|
39
39
|
}
|