forked from MapComplete/MapComplete
		
	Themes: add proper 'image along way' possibility
This commit is contained in:
		
							parent
							
								
									29f8e08509
								
							
						
					
					
						commit
						584fb3cb57
					
				
					 17 changed files with 259 additions and 70 deletions
				
			
		|  | @ -1,4 +1,7 @@ | |||
| import { MinimalTagRenderingConfigJson } from "./TagRenderingConfigJson" | ||||
| import { MappingConfigJson } from "./QuestionableTagRenderingConfigJson" | ||||
| import { TagsFilter } from "../../../Logic/Tags/TagsFilter" | ||||
| import { TagConfigJson } from "./TagConfigJson" | ||||
| 
 | ||||
| /** | ||||
|  * The LineRenderingConfig gives all details onto how to render a single line of a feature. | ||||
|  | @ -74,4 +77,12 @@ export default interface LineRenderingConfigJson { | |||
|      * type: int | ||||
|      */ | ||||
|     offset?: number | MinimalTagRenderingConfigJson | ||||
|     /** | ||||
|      * question: What PNG-image should be shown along the way? | ||||
|      * | ||||
|      * ifunset: no image is shown along the way | ||||
|      * suggestions: [{if: "./assets/png/oneway.png", then: "Show a oneway error"}] | ||||
|      * type: image | ||||
|      */ | ||||
|     imageAlongWay?: {if: TagConfigJson, then: string}[] | string | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue