@panoramax/web-viewer 4.0.2-develop-0a728dda → 4.0.2-develop-bf17cdfd

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.
@@ -58,6 +58,12 @@ This means that, when developing, if you want to check if your attributes are we
58
58
 
59
59
  All third-party services URL (like geocoding API, OSM iD editor) are grouped into a dedicated `src/utils/services.js` file. You can easily change them to deploy a custom version of the viewer.
60
60
 
61
+ ### Presets for semantics
62
+
63
+ The semantics system for sequences, pictures and annotations make use of __tagging presets__. These are JSON files hosted at [presets.panoramax.fr](https://presets.panoramax.fr/), they have their [dedicated Gitlab repository](https://gitlab.com/panoramax/server/tagging-presets).
64
+
65
+ In the viewer, they show up through icons and translated labels associated to pictures & annotations. If you want to change them, you have to edit them in Gitlab repository. Viewer automatically loads hosted files at start.
66
+
61
67
  ## Testing
62
68
 
63
69
  We're trying to make Panoramax as reliable and secure as possible. To ensure this, we rely heavily on code testing. A variety of testing tools is made available:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoramax/web-viewer",
3
- "version": "4.0.2-develop-0a728dda",
3
+ "version": "4.0.2-develop-bf17cdfd",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "build/index.js",
6
6
  "author": "Panoramax team",
@@ -58,6 +58,7 @@ export default class AnnotationsList extends LitElement {
58
58
  _onPicChange() {
59
59
  this._meta = this._parent?.psv?.getPictureMetadata();
60
60
  delete this._prevPsvView;
61
+ this._selectedAnnotation = null;
61
62
 
62
63
  // Load presets for annotations
63
64
  if(this._meta && this._parent?.presetsManager) {
@@ -9,7 +9,7 @@
9
9
  * @returns {string} The presets URL
10
10
  */
11
11
  export function PanoramaxPresetsURL() {
12
- return "https://tagging-presets-22605e.gitlab.io";
12
+ return "https://presets.panoramax.fr";
13
13
  }
14
14
 
15
15
  /**