Opened 11 months ago
Last modified 9 months ago
#23945 closed enhancement
ImageViewerDialog.displayImages() - do not re-center if the image has not changed — at Initial Version
Reported by: | IreuN | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 24.12 |
Component: | Core image mapping | Version: | |
Keywords: | Cc: |
Description
Hello!
I'm asking you if mention method could be changed to not zoom map to the image, in case the image is the same one.
This could be benefitial to Mapillary plugin, which has to re-display the image after sequence has been downloaded (without it, the previous/next buttons are disabled.
as i can see there is already imageChanged = currentEntry != entry;
which could be fed to the if
statement.
imageChanged = currentEntry != entry; if (centerView && entry != null && MainApplication.isDisplayingMapView() && entry.getPos() != null) { MainApplication.getMap().mapView.zoomTo(entry.getPos()); }
Note:
See TracTickets
for help on using tickets.