UX: add progress bar to panoramax upload, fix hanging upload in case of multiple selected images, rm old log statements

This commit is contained in:
Pieter Vander Vennet 2025-05-08 11:28:00 +02:00
parent 767bd18234
commit e33d448055
8 changed files with 35 additions and 22 deletions

View file

@ -38,7 +38,6 @@ export class WithSelectedElementState extends UserMapFeatureswitchState {
// Add the selected element to the recently visited history
this.selectedElement.addCallbackD((selected) => {
console.trace("Selected element is", selected)
const [osm_type, osm_id] = selected.properties.id.split("/")
const [lon, lat] = GeoOperations.centerpointCoordinates(selected)
const layer = this.theme.getMatchingLayer(selected.properties)