Skip to content

Commit

Permalink
Merge pull request #9553 from camptocamp/GSGEOC-406-mapillary-geom-field
Browse files Browse the repository at this point in the history
Use geometry field instead of computed_geometry in Mapillary
  • Loading branch information
arnaud-morvan authored Dec 6, 2024
2 parents b6b1574 + 834b77f commit 0bc3efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/streetview/MapillaryService.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,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();
Expand Down

0 comments on commit 0bc3efb

Please sign in to comment.