forked from MapComplete/MapComplete
		
	Refactoring of GPS-location (uses featureSource too now), factoring out state, add ReplaceGeometryAction and conflation example
This commit is contained in:
		
							parent
							
								
									1db54f3c8e
								
							
						
					
					
						commit
						2484848cd6
					
				
					 37 changed files with 1035 additions and 467 deletions
				
			
		|  | @ -70,7 +70,7 @@ export class NewGeometryFromChangesFeatureSource implements FeatureSource { | |||
|                                 const w = new OsmWay(change.id) | ||||
|                                 w.tags = tags | ||||
|                                 w.nodes = change.changes["nodes"] | ||||
|                                 w.coordinates = change.changes["coordinates"].map(coor => coor.reverse()) | ||||
|                                 w.coordinates = change.changes["coordinates"].map(coor => [coor[1], coor[0]]) | ||||
|                                 add(w.asGeoJson()) | ||||
|                                 break; | ||||
|                             case "relation": | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue