jmapcloud-ng-core-types 1.0.11 → 1.0.12

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/public/core.d.ts +6 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmapcloud-ng-core-types",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "JMap Cloud specific version of JMap Cloud NG Core types and interfaces",
5
5
  "main": "index.js",
6
6
  "scripts": {
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.addThematic***
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
  */