@panoramax/web-viewer 4.3.1-develop-c2822f79 → 4.3.1-develop-a796378e

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoramax/web-viewer",
3
- "version": "4.3.1-develop-c2822f79",
3
+ "version": "4.3.1-develop-a796378e",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "build/index.js",
6
6
  "author": "Panoramax team",
@@ -180,7 +180,7 @@ export default class PictureMetadata extends LitElement {
180
180
  {
181
181
  title: this._parent?._t.pnx.metadata_location_coordinates,
182
182
  content: html`
183
- ${this._meta.gps[0]}, ${this._meta.gps[1]}
183
+ ${this._meta.gps[0].toFixed(5)}, ${this._meta.gps[1].toFixed(5)}
184
184
  <pnx-copy-coordinates
185
185
  ._parent=${this._parent}
186
186
  .gps=${this._meta.gps}
@@ -41,8 +41,8 @@ export default class CopyCoordinates extends LitElement {
41
41
  const dmslat = dmslatval.d < 0 ? `${Math.abs(dmslatval.d)}°${dmslatval.m}'${dmslatval.s}"S` : `${dmslatval.d}°${dmslatval.m}'${dmslatval.s}"N`;
42
42
 
43
43
  const values = {
44
- ddeclatlon: `${this.gps[1].toFixed(7)}, ${this.gps[0].toFixed(7)}`,
45
- ddeclonlat: `${this.gps[0].toFixed(7)}, ${this.gps[1].toFixed(7)}`,
44
+ ddeclatlon: `${this.gps[1].toFixed(5)}, ${this.gps[0].toFixed(5)}`,
45
+ ddeclonlat: `${this.gps[0].toFixed(5)}, ${this.gps[1].toFixed(5)}`,
46
46
  ddmslonlat: `${dmslon}, ${dmslat}`,
47
47
  ddmslatlon: `${dmslat}, ${dmslon}`,
48
48
  };