jmapcloud-ng-core-types 1.0.11 → 1.0.13
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 +5 -0
- package/package.json +1 -1
- package/public/core.d.ts +6 -1
- package/public/jmap/project.d.ts +19 -0
package/all-enums.ts
CHANGED
|
@@ -282,3 +282,8 @@ export const ALL_SERVER_STATUS: JSERVER_STATUS[] = [JSERVER_STATUS.STARTING, JSE
|
|
|
282
282
|
export const ALL_JORGANIZATION_EXTERNAL_API_KEY_TYPES: JORGANIZATION_EXTERNAL_API_KEY_TYPES[] = [
|
|
283
283
|
JORGANIZATION_EXTERNAL_API_KEY_TYPES.MAPBOX_ACCESS_TOKEN
|
|
284
284
|
]
|
|
285
|
+
|
|
286
|
+
export const ALL_TERRAIN_ILLUMINATION_ANCHOR_TYPES: JTERRAIN_ILLUMINATION_ANCHOR_TYPES[] = [
|
|
287
|
+
JTERRAIN_ILLUMINATION_ANCHOR_TYPES.MAP,
|
|
288
|
+
JTERRAIN_ILLUMINATION_ANCHOR_TYPES.VIEWPORT
|
|
289
|
+
]
|
package/package.json
CHANGED
package/public/core.d.ts
CHANGED
|
@@ -974,10 +974,15 @@ declare namespace JMap {
|
|
|
974
974
|
function addThematic(params: JLayerAddThematicParams): Promise<void>
|
|
975
975
|
|
|
976
976
|
/**
|
|
977
|
-
* ***JMap.Layer.Thematic.
|
|
977
|
+
* ***JMap.Layer.Thematic.deleteThematic***
|
|
978
978
|
*
|
|
979
979
|
* Deletes a thematic from JMap CLoud NG. The removal is client-side only and only for the current session.
|
|
980
980
|
*
|
|
981
|
+
* @example
|
|
982
|
+
* ```ts
|
|
983
|
+
* // delete a thematic
|
|
984
|
+
* JMap.Layer.Thematic.deleteThematic("d5185b58-4f7a-4689-bacd-656df2104da4","bc23f628-0fea-4e0c-8c23-d39c33ee0be2")
|
|
985
|
+
* ```
|
|
981
986
|
* @param layerId the JMap Cloud layer id
|
|
982
987
|
* @param thematicId the thematic id (Style Rule id)
|
|
983
988
|
*/
|
package/public/jmap/project.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
// ALL_TERRAIN_ILLUMINATION_ANCHOR_TYPES in all-enum.ts
|
|
2
|
+
declare const enum JTERRAIN_ILLUMINATION_ANCHOR_TYPES {
|
|
3
|
+
VIEWPORT = "VIEWPORT",
|
|
4
|
+
MAP = "MAP"
|
|
5
|
+
}
|
|
6
|
+
|
|
1
7
|
declare interface JProjectLoadThumbnailsParams {
|
|
2
8
|
width: number
|
|
3
9
|
height: number
|
|
@@ -28,6 +34,8 @@ declare interface JProject {
|
|
|
28
34
|
initialRotation: number
|
|
29
35
|
colorSelection: string
|
|
30
36
|
colorBackground: string
|
|
37
|
+
terrainRasterDataSourceId?: JId
|
|
38
|
+
terrain?: JTerrainSpecification
|
|
31
39
|
initialExtent: JBounds | null
|
|
32
40
|
minimumVisibleZoom: number
|
|
33
41
|
maximumVisibleZoom: number
|
|
@@ -43,3 +51,14 @@ declare interface JProject {
|
|
|
43
51
|
extensions: JProjectServerExtension[]
|
|
44
52
|
usageStatisticsActive: boolean
|
|
45
53
|
}
|
|
54
|
+
|
|
55
|
+
declare interface JTerrainSpecification {
|
|
56
|
+
terrainExaggeration?: number
|
|
57
|
+
hillshadeExaggeration?: number
|
|
58
|
+
hillshadeIlluminationDirection?: number
|
|
59
|
+
visible?: boolean
|
|
60
|
+
hillshadeIlluminationAnchor?: JTERRAIN_ILLUMINATION_ANCHOR_TYPES
|
|
61
|
+
hillshadeAccentColor?: string
|
|
62
|
+
hillshadeHighlightColor?: string
|
|
63
|
+
hillshadeShadowColor?: string
|
|
64
|
+
}
|