forked from MapComplete/MapComplete
		
	Remove 'id' from XML-tags
This commit is contained in:
		
							parent
							
								
									11c9bd34af
								
							
						
					
					
						commit
						09db929dea
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -152,6 +152,9 @@ export abstract class OsmObject { | |||
|             if(key.startsWith("_")){ | ||||
|                 continue; | ||||
|             } | ||||
|             if(key === "id"){ | ||||
|                 continue; | ||||
|             } | ||||
|             const v = this.tags[key]; | ||||
|             if (v !== "") { | ||||
|                 tags += '        <tag k="' + Utils.EncodeXmlValue(key) + '" v="' + Utils.EncodeXmlValue(this.tags[key]) + '"/>\n' | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue