jmapcloud-ng-core-types 1.0.8 → 1.0.10

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/all-enums.ts CHANGED
@@ -139,16 +139,15 @@ export const ALL_LAYER_THEMATIC_FAMILY_TYPES: JLAYER_THEMATIC_FAMILY_TYPES[] = [
139
139
  export const ALL_LAYER_STYLE_TYPES: JLAYER_STYLE_TYPES[] = [
140
140
  JLAYER_STYLE_TYPES.POINT,
141
141
  JLAYER_STYLE_TYPES.LINE,
142
- JLAYER_STYLE_TYPES.SURFACE,
143
- JLAYER_STYLE_TYPES.ANNOTATION,
144
142
  JLAYER_STYLE_TYPES.IMAGE,
145
- JLAYER_STYLE_TYPES.MIXED
143
+ JLAYER_STYLE_TYPES.TEXT,
144
+ JLAYER_STYLE_TYPES.IMAGE
146
145
  ]
147
146
 
148
- export const ALL_LAYER_STYLE_ARROWS: JLAYER_STYLE_ARROWS[] = [
149
- JLAYER_STYLE_ARROWS.NONE,
150
- JLAYER_STYLE_ARROWS.FORWARD,
151
- JLAYER_STYLE_ARROWS.BACKWARD
147
+ export const ALL_LAYER_STYLE_ARROW_TYPES: JLAYER_STYLE_ARROW_TYPES[] = [
148
+ JLAYER_STYLE_ARROW_TYPES.NONE,
149
+ JLAYER_STYLE_ARROW_TYPES.FORWARD,
150
+ JLAYER_STYLE_ARROW_TYPES.BACKWARD
152
151
  ]
153
152
 
154
153
  export const ALL_LAYER_INFORMATION_REPORT_TYPES: JLAYER_INFORMATION_REPORT_TYPES[] = [
@@ -192,16 +191,16 @@ export const ALL_LAYER_DYNAMIC_FILTER_OPERATORS: JLAYER_DYNAMIC_FILTER_OPERATORS
192
191
  JLAYER_DYNAMIC_FILTER_OPERATORS.INTERVAL
193
192
  ]
194
193
 
195
- export const ALL_LAYER_STYLE_LINE_STROKE_CAP: JLAYER_STYLE_LINE_STROKE_CAP[] = [
196
- JLAYER_STYLE_LINE_STROKE_CAP.BUTT,
197
- JLAYER_STYLE_LINE_STROKE_CAP.ROUND,
198
- JLAYER_STYLE_LINE_STROKE_CAP.SQUARE
194
+ export const ALL_LAYER_STYLE_LINE_CAP: JLAYER_STYLE_LINE_CAP[] = [
195
+ JLAYER_STYLE_LINE_CAP.BUTT,
196
+ JLAYER_STYLE_LINE_CAP.ROUND,
197
+ JLAYER_STYLE_LINE_CAP.SQUARE
199
198
  ]
200
199
 
201
- export const ALL_LAYER_STYLE_LINE_STROKE_JOIN: JLAYER_STYLE_LINE_STROKE_JOIN[] = [
202
- JLAYER_STYLE_LINE_STROKE_JOIN.MITER,
203
- JLAYER_STYLE_LINE_STROKE_JOIN.ROUND,
204
- JLAYER_STYLE_LINE_STROKE_JOIN.BEVEL
200
+ export const ALL_LAYER_STYLE_LINE_JOIN: JLAYER_STYLE_LINE_JOIN[] = [
201
+ JLAYER_STYLE_LINE_JOIN.MITER,
202
+ JLAYER_STYLE_LINE_JOIN.ROUND,
203
+ JLAYER_STYLE_LINE_JOIN.BEVEL
205
204
  ]
206
205
 
207
206
  export const ALL_LAYER_METADATA_TYPES: JLAYER_METADATA_TYPES[] = [
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[]
@@ -697,6 +696,7 @@ export interface JMapService {
697
696
  isTerrainAvailable(): boolean
698
697
  isTerrainActive(): boolean
699
698
  setTerrainActive(active: boolean): void
699
+ setSelectionStyle(layerId: JId, style: JLayerSetSelectionStyleParam): void
700
700
  setScaleControlVisibility(isVisible: boolean, position?: JMAP_POSITIONS): void
701
701
  setScaleControlUnits(units: "imperial" | "metric" | "nautical"): void
702
702
  setScaleControlPosition(position: JMAP_POSITIONS): void
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmapcloud-ng-core-types",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
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.24.8"
31
+ "typedoc": "^0.25.13"
32
32
  },
33
33
  "dependencies": {
34
- "@types/geojson": "^7946.0.7",
34
+ "@types/geojson": "^7946.0.14",
35
35
  "geojson": "^0.5.0",
36
- "maplibre-gl": "^3.2.1",
37
- "redux": "^4.0.0"
36
+ "maplibre-gl": "^4.3.1",
37
+ "redux": "^5.0.1"
38
38
  }
39
39
  }