forked from MapComplete/MapComplete
		
	Merge develop
This commit is contained in:
		
						commit
						e1a785ba9c
					
				
					 34 changed files with 1406 additions and 1306 deletions
				
			
		|  | @ -16,6 +16,7 @@ import { LayerConfigJson } from "../../Models/ThemeConfig/Json/LayerConfigJson" | |||
| import PerLayerFeatureSourceSplitter from "../../Logic/FeatureSource/PerLayerFeatureSourceSplitter" | ||||
| import FilteredLayer from "../../Models/FilteredLayer" | ||||
| import SimpleFeatureSource from "../../Logic/FeatureSource/Sources/SimpleFeatureSource" | ||||
| import { CLIENT_RENEG_LIMIT } from "tls"; | ||||
| 
 | ||||
| class PointRenderingLayer { | ||||
|     private readonly _config: PointRenderingConfig | ||||
|  | @ -406,13 +407,10 @@ class LineRenderingLayer { | |||
|             } else { | ||||
|                 const tags = this._fetchStore(id) | ||||
|                 this._listenerInstalledOn.add(id) | ||||
|                 map.setFeatureState( | ||||
|                     { source: this._layername, id }, | ||||
|                     this.calculatePropsFor(feature.properties) | ||||
|                 ) | ||||
|                 tags.addCallbackD((properties) => { | ||||
|                     if (!map.getLayer(this._layername)) { | ||||
|                         return | ||||
|                 tags.addCallbackAndRunD((properties) => { | ||||
|                     // Make sure to use 'getSource' here, the layer names are different!
 | ||||
|                     if(map.getSource(this._layername) === undefined){ | ||||
|                         return true | ||||
|                     } | ||||
|                     map.setFeatureState( | ||||
|                         { source: this._layername, id }, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue