forked from MapComplete/MapComplete
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:
parent
767bd18234
commit
e33d448055
8 changed files with 35 additions and 22 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue