@geospatial-sdk/legend 0.0.5-dev.43 → 0.0.5-dev.45

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/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # `legend`
1
+ # `@geospatial-sdk/legend`
2
2
 
3
- > A library to get legend graphics from the map-context.
3
+ <!-- #region body -->
4
4
 
5
- ## Installation
5
+ This package provides utilities to automatically create map legends from layer definitions in a Map Context.
6
6
 
7
- To install the package, use npm:
7
+ ## Installation
8
8
 
9
9
  ```sh
10
10
  npm install @geospatial-sdk/legend
@@ -26,10 +26,8 @@ createLegendFromLayer(layer).then((legendDiv) => {
26
26
  });
27
27
  ```
28
28
 
29
+ <!-- #endregion body -->
30
+
29
31
  ## Documentation
30
32
 
31
33
  For more detailed API documentation, see the [documentation website](https://camptocamp.github.io/geospatial-sdk/docs/).
32
-
33
- ## Examples
34
-
35
- For examples and demos, see the [examples website](https://camptocamp.github.io/geospatial-sdk/).
@@ -1,2 +1,6 @@
1
+ /**
2
+ * @hideGroups
3
+ * @packageDocumentation
4
+ */
1
5
  export { createLegendFromLayer } from "./from-layer.js";
2
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/create-legend/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/create-legend/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1 +1,5 @@
1
+ /**
2
+ * @hideGroups
3
+ * @packageDocumentation
4
+ */
1
5
  export { createLegendFromLayer } from "./from-layer.js";
package/dist/index.d.ts CHANGED
@@ -1,2 +1,7 @@
1
+ /**
2
+ * {@include ../README.md#body}
3
+ *
4
+ * @module 📦 legend
5
+ */
1
6
  export * from "./create-legend/index.js";
2
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,0BAA0B,CAAC"}
package/dist/index.js CHANGED
@@ -1 +1,6 @@
1
+ /**
2
+ * {@include ../README.md#body}
3
+ *
4
+ * @module 📦 legend
5
+ */
1
6
  export * from "./create-legend/index.js";
@@ -1,9 +1,5 @@
1
- import { createLegendFromLayer } from "./from-layer";
2
- import {
3
- MapContextLayer,
4
- MapContextLayerWms,
5
- MapContextLayerWmts,
6
- } from "@geospatial-sdk/core";
1
+ import { createLegendFromLayer } from "./from-layer.js";
2
+ import { MapContextLayerWms, MapContextLayerWmts } from "@geospatial-sdk/core";
7
3
  import { WmtsEndpoint } from "@camptocamp/ogc-client";
8
4
 
9
5
  // Mock dependencies
@@ -1 +1,6 @@
1
+ /**
2
+ * @hideGroups
3
+ * @packageDocumentation
4
+ */
5
+
1
6
  export { createLegendFromLayer } from "./from-layer.js";
package/lib/index.ts CHANGED
@@ -1 +1,7 @@
1
+ /**
2
+ * {@include ../README.md#body}
3
+ *
4
+ * @module 📦 legend
5
+ */
6
+
1
7
  export * from "./create-legend/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geospatial-sdk/legend",
3
- "version": "0.0.5-dev.43+a7f100d",
3
+ "version": "0.0.5-dev.45+a90fe28",
4
4
  "description": "Get legend graphic from the map-context",
5
5
  "keywords": [
6
6
  "legend"
@@ -30,10 +30,10 @@
30
30
  "build": "tsc"
31
31
  },
32
32
  "devDependencies": {
33
- "@geospatial-sdk/core": "^0.0.5-dev.43+a7f100d"
33
+ "@geospatial-sdk/core": "^0.0.5-dev.45+a90fe28"
34
34
  },
35
35
  "bugs": {
36
36
  "url": "https://github.com/camptocamp/geospatial-sdk/issues"
37
37
  },
38
- "gitHead": "a7f100dfebe66dff0f44abb4c630917db89453fd"
38
+ "gitHead": "a90fe28ac749e1d35a976bdcfd02cb47357e8955"
39
39
  }