@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.
package/docs/09_Develop.md
CHANGED
|
@@ -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
|
@@ -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) {
|