forked from MapComplete/MapComplete
		
	Cleanup of svg files, move matchpoint to explicit layer
This commit is contained in:
		
							parent
							
								
									95d6244008
								
							
						
					
					
						commit
						9e40e459e5
					
				
					 19 changed files with 27 additions and 1064 deletions
				
			
		|  | @ -15,20 +15,10 @@ import {FixedUiElement} from "../Base/FixedUiElement"; | |||
| import ShowDataLayer from "../ShowDataLayer/ShowDataLayer"; | ||||
| import BaseUIElement from "../BaseUIElement"; | ||||
| import Toggle from "./Toggle"; | ||||
| 
 | ||||
| import * as matchpoint from "../../assets/layers/matchpoint/matchpoint.json" | ||||
| export default class LocationInput extends InputElement<Loc> implements MinimapObj { | ||||
| 
 | ||||
|     private static readonly matchLayer = new LayerConfig( | ||||
|         { | ||||
|             id: "matchpoint", source: { | ||||
|                 osmTags: {and: []} | ||||
|             }, | ||||
|             mapRendering: [{ | ||||
|                 location: ["point","centroid"], | ||||
|                 icon: "./assets/svg/crosshair-empty.svg" | ||||
|             }] | ||||
|         }, "matchpoint icon", true | ||||
|     ) | ||||
|     private static readonly matchLayer = new LayerConfig(matchpoint, "LocationInput.matchpoint", true) | ||||
| 
 | ||||
|     IsSelected: UIEventSource<boolean> = new UIEventSource<boolean>(false); | ||||
|     public readonly snappedOnto: UIEventSource<any> = new UIEventSource<any>(undefined) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue