From 15d8616d9d8bffd1c493c92548d100601415f0bf Mon Sep 17 00:00:00 2001 From: "arnaud.morvan@camptocamp.com" Date: Thu, 5 Dec 2024 16:45:05 +0100 Subject: [PATCH] Use geometry field instead of computed_geometry in Mapillary --- src/streetview/MapillaryService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streetview/MapillaryService.js b/src/streetview/MapillaryService.js index 2a73ef9f1770..f8b769bbb97b 100644 --- a/src/streetview/MapillaryService.js +++ b/src/streetview/MapillaryService.js @@ -126,7 +126,7 @@ export default class MapillaryService extends StreetviewService { * @param {import('mapillary-js/src/viewer/events/ViewerImageEvent').ViewerImageEvent} evt */ this.mapillaryEventHandler_ = (evt) => { - const coordinates = evt.image.computedLngLat; + const coordinates = evt.image.originalLngLat; const newCoordinates = this.fromLonLat_([coordinates.lng, coordinates.lat]); super.panoramaPositionChange(newCoordinates); this.mly.resize();