| 
									
										
										
										
											2022-01-26 21:40:38 +01:00
										 |  |  | current_view | 
					
						
							| 
									
										
										
										
											2022-01-14 19:36:36 +01:00
										 |  |  | ============== | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-26 21:40:38 +01:00
										 |  |  | A meta-layer which contains one single feature, namely the BBOX of the current map view. This can be used to trigger | 
					
						
							|  |  |  | special actions. If a popup is defined for this layer, this popup will be accessible via an extra button on screen. | 
					
						
							| 
									
										
										
										
											2022-01-14 19:36:36 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | The icon on the button is the default icon of the layer, but can be customized by detecting 'button=yes'. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## Table of contents
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 1. [current_view](#current_view) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-26 21:40:38 +01:00
										 |  |  | - [Basic tags for this layer](#basic-tags-for-this-layer) | 
					
						
							|  |  |  | - [Supported attributes](#supported-attributes) | 
					
						
							| 
									
										
										
										
											2022-01-14 19:36:36 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-26 21:40:38 +01:00
										 |  |  | - This layer is not visible by default and must be enabled in the filter by the user. | 
					
						
							|  |  |  | - Not visible in the layer selection by default. If you want to make this layer toggable, override `name` | 
					
						
							|  |  |  | - Not rendered on the map by default. If you want to rendering this on the map, override `mapRenderings` | 
					
						
							| 
									
										
										
										
											2022-01-14 19:36:36 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | [Go to the source code](../assets/layers/current_view/current_view.json) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-26 21:40:38 +01:00
										 |  |  | Basic tags for this layer | 
					
						
							| 
									
										
										
										
											2022-01-14 19:36:36 +01:00
										 |  |  | --------------------------- | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Elements must have the all of following tags to be shown on this layer: | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-26 21:40:38 +01:00
										 |  |  | - <a href='https://wiki.openstreetmap.org/wiki/Key:current_view' target='_blank'>current_view</a> | 
					
						
							|  |  |  |   =<a href='https://wiki.openstreetmap.org/wiki/Tag:current_view%3Dyes' target='_blank'>yes</a> | 
					
						
							| 
									
										
										
										
											2022-01-14 19:36:36 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-26 21:40:38 +01:00
										 |  |  | Supported attributes | 
					
						
							| 
									
										
										
										
											2022-01-14 19:36:36 +01:00
										 |  |  | ---------------------- | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-26 21:40:38 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-14 19:36:36 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | This document is autogenerated from assets/layers/current_view/current_view.json |