forked from MapComplete/MapComplete
		
	Fix split way action, add decent tests for them (fix #171), enable split road on cyclestreets theme
This commit is contained in:
		
							parent
							
								
									affe8237dc
								
							
						
					
					
						commit
						a2aa26aafc
					
				
					 12 changed files with 1908 additions and 60 deletions
				
			
		|  | @ -58,10 +58,10 @@ export default class SplitRoadWizard extends Toggle { | |||
|         miniMap.SetStyle("width: 100%; height: 24rem") | ||||
|             .SetClass("rounded-xl overflow-hidden"); | ||||
| 
 | ||||
|         miniMap.installBounds(BBox.get(roadElement)) | ||||
|         miniMap.installBounds(BBox.get(roadElement).pad(0.25), false) | ||||
| 
 | ||||
|         // Define how a cut is displayed on the map
 | ||||
| 
 | ||||
|          | ||||
|         // Datalayer displaying the road and the cut points (if any)
 | ||||
|         new ShowDataLayer({ | ||||
|             features: new StaticFeatureSource(splitPoints, true), | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue