forked from MapComplete/MapComplete
UX: add unlink button, simplify unlink code
This commit is contained in:
parent
45c0f1a8d6
commit
1192434b45
13 changed files with 117 additions and 69 deletions
|
|
@ -170,8 +170,7 @@ export class Mapillary extends ImageProvider {
|
|||
properties: {
|
||||
url: response.thumb_2048_url,
|
||||
northOffset: response.computed_compass_angle,
|
||||
provider: this,
|
||||
imageMeta: <any>image
|
||||
provider: this
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
@ -246,6 +245,7 @@ export class Mapillary extends ImageProvider {
|
|||
response.camera_type === "spherical" || response.camera_type === "equirectangular",
|
||||
lat: geometry.coordinates[1],
|
||||
lon: geometry.coordinates[0],
|
||||
originalAttribute: {key, value}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue