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
				
			
		|  | @ -32,7 +32,7 @@ export default class RenderingMultiPlexerFeatureSource { | |||
|                 const withIndex: (any & { pointRenderingIndex: number | undefined, lineRenderingIndex: number | undefined })[] = []; | ||||
| 
 | ||||
| 
 | ||||
|                 function addAsPoint(feat, rendering, coordinate) { | ||||
|                 function addAsPoint(feat, rendering, coordinate)     { | ||||
|                     const patched = { | ||||
|                         ...feat, | ||||
|                         pointRenderingIndex: rendering.index | ||||
|  | @ -46,8 +46,6 @@ export default class RenderingMultiPlexerFeatureSource { | |||
| 
 | ||||
|                 for (const f of features) { | ||||
|                     const feat = f.feature; | ||||
| 
 | ||||
| 
 | ||||
|                     if (feat.geometry.type === "Point") { | ||||
| 
 | ||||
|                         for (const rendering of pointRenderings) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue