@panoramax/web-viewer 4.0.0-develop-9f9cf858 → 4.0.1-develop-b776b1ef

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.
@@ -31,7 +31,7 @@ By default, picture is shown wide.
31
31
 
32
32
  ### :simple-speedtest: `speed`: sequence play speed
33
33
 
34
- The duration of stay on a picture during sequence play (excluding image dowloading time), in milliseconds. Authorized values are between 0 and 3000. Example:
34
+ The duration of stay on a picture during sequence play (excluding image downloading time), in milliseconds. Authorized values are between 0 and 3000. Example:
35
35
 
36
36
  ```urlencoded
37
37
  speed=1000
@@ -14,7 +14,7 @@ The current code is split between various elements:
14
14
 
15
15
  - __Core components__: a single functional entry, like [Viewer](./reference/components/core/Viewer.md) (map + picture), [Photo Viewer](./reference/components/core/PhotoViewer.md) (picture only), [Coverage Map](./reference/components/core/CoverageMap.md) or [Editor](./reference/components/core/Editor.md). They share parts of code in [Basic](./reference/components/core/Basic.md) class. They specialized the behaviour of components depending on the needs.
16
16
  - __UI components, menus & widgets__: reusable web components, like [Map](./reference/components/ui/Map.md), [Photo](./reference/components/ui/Photo.md) or [Loader](./reference/components/ui/Loader.md). They are used in some views depending of the context.
17
- - __Utils__: utility functions, splitted in various files for clarity.
17
+ - __Utils__: utility functions, split into various files for clarity.
18
18
 
19
19
  ![Class diagram of Panoramax web viewer](./images/class_diagram.jpg)
20
20
 
@@ -289,7 +289,7 @@ Event for picture preview
289
289
  | --- | --- | --- |
290
290
  | detail.picId | <code>string</code> | The picture ID |
291
291
  | detail.coordinates | <code>Array.&lt;number&gt;</code> | [x,y] coordinates |
292
- | detail.direction | <code>number</code> | The theorical picture orientation |
292
+ | detail.direction | <code>number</code> | The theoretical picture orientation |
293
293
 
294
294
  <a name="Panoramax.components.ui.Photo+event_picture-preview-stopped"></a>
295
295
 
@@ -39,7 +39,7 @@ API contains various utility functions to communicate with Panoramax/STAC API
39
39
 
40
40
  | Param | Type | Default | Description |
41
41
  | --- | --- | --- | --- |
42
- | endpoint | <code>string</code> | | The endpoint. It corresponds to the <a href="https://github.com/radiantearth/stac-api-spec/blob/main/overview.md#example-landing-page">STAC landing page</a>, with all links describing the API capabilites. |
42
+ | endpoint | <code>string</code> | | The endpoint. It corresponds to the <a href="https://github.com/radiantearth/stac-api-spec/blob/main/overview.md#example-landing-page">STAC landing page</a>, with all links describing the API capabilities. |
43
43
  | [options] | <code>object</code> | | Options |
44
44
  | [options.style] | <code>string</code> \| <code>object</code> | | General map style |
45
45
  | [options.tiles] | <code>string</code> | | API route serving pictures & sequences vector tiles |
@@ -68,7 +68,7 @@ Many stuff was moved around, and have a bit different naming. Main classes shoul
68
68
 
69
69
  A new main component is available, named __Photo Viewer__ (`<pnx-photo-viewer>`) for showing up only picture (without map).
70
70
 
71
- And source code is splitted in more packages:
71
+ And source code is split into more packages:
72
72
 
73
73
  * `Panoramax.components` : everything you can see graphically
74
74
  * `.core` : Viewer, Editor, Coverage Map and Basic (common code)
@@ -32,7 +32,7 @@ coverage.addEventListener("ready", () => {
32
32
  console.log("Selected sequence", e.detail.seqId, "picture", e.detail.picId);
33
33
  });
34
34
 
35
- // You can also programatically change selection on map
35
+ // You can also programmatically change selection on map
36
36
  coverage.select(
37
37
  "c463d190-06b0-47fb-98a8-b4a775a39ad6", // A sequence ID
38
38
  "bdea1eb4-4496-46da-a4d5-b22b16e75fa8" // A picture ID (can be null if unknown)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoramax/web-viewer",
3
- "version": "4.0.0-develop-9f9cf858",
3
+ "version": "4.0.1-develop-b776b1ef",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "build/index.js",
6
6
  "author": "Panoramax team",
@@ -338,7 +338,7 @@ export default class Photo extends PSViewer {
338
338
  * @type {CustomEvent}
339
339
  * @property {string} detail.picId The picture ID
340
340
  * @property {number[]} detail.coordinates [x,y] coordinates
341
- * @property {number} detail.direction The theorical picture orientation
341
+ * @property {number} detail.direction The theoretical picture orientation
342
342
  */
343
343
  const event = new CustomEvent("picture-preview-started", { detail: {
344
344
  picId: fromLink.nodeId,
package/src/utils/API.js CHANGED
@@ -8,7 +8,7 @@ import { isNullId } from "./utils";
8
8
  * @typicalname api
9
9
  * @fires Panoramax.utils.API#ready
10
10
  * @fires Panoramax.utils.API#broken
11
- * @param {string} endpoint The endpoint. It corresponds to the <a href="https://github.com/radiantearth/stac-api-spec/blob/main/overview.md#example-landing-page">STAC landing page</a>, with all links describing the API capabilites.
11
+ * @param {string} endpoint The endpoint. It corresponds to the <a href="https://github.com/radiantearth/stac-api-spec/blob/main/overview.md#example-landing-page">STAC landing page</a>, with all links describing the API capabilities.
12
12
  * @param {object} [options] Options
13
13
  * @param {string|object} [options.style] General map style
14
14
  * @param {string} [options.tiles] API route serving pictures & sequences vector tiles