forked from MapComplete/MapComplete
		
	Merge branch 'develop' into feature/velopark
This commit is contained in:
		
						commit
						59e76b9c6f
					
				
					 30 changed files with 963 additions and 654 deletions
				
			
		|  | @ -155,7 +155,6 @@ export class Mapillary extends ImageProvider { | |||
|             Constants.mapillary_client_token_v4 | ||||
|         const response = await Utils.downloadJsonCached(metadataUrl, 60 * 60) | ||||
|         const url = <string>response["thumb_1024_url"] | ||||
|         console.log(response) | ||||
|         const url_hd = <string>response["thumb_original_url"] | ||||
|         return { | ||||
|             id: "" + mapillaryId, | ||||
|  |  | |||
|  | @ -1,6 +1,5 @@ | |||
| import ImageProvider, { ProvidedImage } from "./ImageProvider" | ||||
| import BaseUIElement from "../../UI/BaseUIElement" | ||||
| import Svg from "../../Svg" | ||||
| import { Utils } from "../../Utils" | ||||
| import { LicenseInfo } from "./LicenseInfo" | ||||
| import Wikimedia from "../Web/Wikimedia" | ||||
|  |  | |||
|  | @ -1,7 +1,6 @@ | |||
| import ChangeTagAction from "./ChangeTagAction" | ||||
| import { Tag } from "../../Tags/Tag" | ||||
| import OsmChangeAction from "./OsmChangeAction" | ||||
| import { Changes } from "../Changes" | ||||
| import { ChangeDescription } from "./ChangeDescription" | ||||
| import { Store } from "../../UIEventSource" | ||||
| 
 | ||||
|  | @ -40,7 +39,7 @@ export default class LinkImageAction extends OsmChangeAction { | |||
|     protected CreateChangeDescriptions(): Promise<ChangeDescription[]> { | ||||
|         let key = this._proposedKey | ||||
|         let i = 0 | ||||
|         const currentTags = this._currentTags.data | ||||
|         const currentTags: Record<string, string> = this._currentTags.data | ||||
|         const url = this._url | ||||
|         while (currentTags[key] !== undefined && currentTags[key] !== url) { | ||||
|             key = this._proposedKey + ":" + i | ||||
|  |  | |||
|  | @ -539,7 +539,7 @@ export class Changes { | |||
|             openChangeset | ||||
|         ) | ||||
| 
 | ||||
|         console.log("Upload successfull!") | ||||
|         console.log("Upload successful!") | ||||
|         return true | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue