jmapcloud-ng-core-types 1.0.14 → 1.0.15
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/package.json +1 -1
- package/public/core.d.ts +2 -2
- package/public/jmap/layer.d.ts +4 -1
package/package.json
CHANGED
package/public/core.d.ts
CHANGED
|
@@ -806,10 +806,10 @@ declare namespace JMap {
|
|
|
806
806
|
*
|
|
807
807
|
* The {@link JLayerAddThematicParams} parameter that you must provide include those properties:
|
|
808
808
|
* * the JMap Cloud layer id
|
|
809
|
-
* * a {@link
|
|
809
|
+
* * a {@link JLayerUserStyleRule} specification
|
|
810
810
|
* * an array of {@link JLayerSetStyleParams}
|
|
811
811
|
*
|
|
812
|
-
* The id of the thematic that will be created will be the same id than the {@link
|
|
812
|
+
* The id of the thematic that will be created will be the same id than the {@link JLayerUserStyleRule} that you provided.
|
|
813
813
|
*
|
|
814
814
|
* All objects that you provide that require an id should have a unique uuid v4 id. Many programming languages let you generate such ids.
|
|
815
815
|
*
|
package/public/jmap/layer.d.ts
CHANGED
|
@@ -444,6 +444,7 @@ declare interface JLayerStyleRule {
|
|
|
444
444
|
id: string
|
|
445
445
|
layerId: string
|
|
446
446
|
active: boolean
|
|
447
|
+
defaultRule: boolean
|
|
447
448
|
name: string
|
|
448
449
|
conditions: JLayerStyleRuleCondition[]
|
|
449
450
|
}
|
|
@@ -533,9 +534,11 @@ declare interface JLayerTextStyle extends JLayerBaseStyle {
|
|
|
533
534
|
italic: boolean
|
|
534
535
|
}
|
|
535
536
|
|
|
537
|
+
declare type JLayerUserStyleRule = Omit<JLayerStyleRule, "defaultRule">
|
|
538
|
+
|
|
536
539
|
declare type JLayerAddThematicParams = {
|
|
537
540
|
layerId: JId
|
|
538
|
-
styleRule:
|
|
541
|
+
styleRule: JLayerUserStyleRule
|
|
539
542
|
styles: JLayerSetStyleParams[]
|
|
540
543
|
}
|
|
541
544
|
|