forked from MapComplete/MapComplete
		
	Block broken replaceGeometry for now
This commit is contained in:
		
							parent
							
								
									adade2e8b0
								
							
						
					
					
						commit
						b0f0a57bc7
					
				
					 3 changed files with 3 additions and 2 deletions
				
			
		|  | @ -13,7 +13,6 @@ import {Utils} from "../../../Utils"; | |||
| import {OsmConnection} from "../OsmConnection"; | ||||
| import {GeoJSONObject} from "@turf/turf"; | ||||
| import FeaturePipeline from "../../FeatureSource/FeaturePipeline"; | ||||
| import DeleteAction from "./DeleteAction"; | ||||
| 
 | ||||
| export default class ReplaceGeometryAction extends OsmChangeAction { | ||||
|     /** | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ import {Utils} from "../Utils"; | |||
| 
 | ||||
| export default class Constants { | ||||
| 
 | ||||
|     public static vNumber = "0.13.0-alpha-9"; | ||||
|     public static vNumber = "0.13.0-alpha-10"; | ||||
|     public static ImgurApiKey = '7070e7167f0a25a' | ||||
|     public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85" | ||||
| 
 | ||||
|  |  | |||
|  | @ -308,6 +308,8 @@ export class ConflateButton extends AbstractImportButton { | |||
|                      args: { max_snap_distance: string; snap_onto_layers: string; icon: string; text: string; tags: string; newTags: UIEventSource<Tag[]>; targetLayer: string }, | ||||
|                      tagSource: UIEventSource<any>, guiState: DefaultGuiState, feature: any, onCancelClicked: () => void): BaseUIElement { | ||||
| 
 | ||||
|         return new FixedUiElement("ReplaceGeometry is currently very broken - use mapcomplete.osm.be for now").SetClass("alert") | ||||
|          | ||||
|         const nodesMustMatch = args.snap_onto_layers?.split(";")?.map((tag, i) => TagUtils.Tag(tag, "TagsSpec for import button " + i)) | ||||
| 
 | ||||
|         const mergeConfigs = [] | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue