forked from MapComplete/MapComplete
		
	Fix popup behaviour, version bump
This commit is contained in:
		
							parent
							
								
									7f8120d62e
								
							
						
					
					
						commit
						9b85382bc1
					
				
					 3 changed files with 8 additions and 2 deletions
				
			
		| 
						 | 
					@ -41,7 +41,6 @@ export default class PerLayerFeatureSourceSplitter {
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            for (const f of features) {
 | 
					            for (const f of features) {
 | 
				
			||||||
                console.log("Classifying ", f.feature)
 | 
					 | 
				
			||||||
                for (const layer of layers.data) {
 | 
					                for (const layer of layers.data) {
 | 
				
			||||||
                    if (layer.layerDef.source.osmTags.matchesProperties(f.feature.properties)) {
 | 
					                    if (layer.layerDef.source.osmTags.matchesProperties(f.feature.properties)) {
 | 
				
			||||||
                        // We have found our matching layer!
 | 
					                        // We have found our matching layer!
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,7 +2,7 @@ import {Utils} from "../Utils";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default class Constants {
 | 
					export default class Constants {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public static vNumber = "0.15.0-alpha";
 | 
					    public static vNumber = "0.15.0-alpha-1";
 | 
				
			||||||
    public static ImgurApiKey = '7070e7167f0a25a'
 | 
					    public static ImgurApiKey = '7070e7167f0a25a'
 | 
				
			||||||
    public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85"
 | 
					    public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -42,6 +42,11 @@ export default class ScrollableFullScreen extends UIElement {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        const self = this;
 | 
					        const self = this;
 | 
				
			||||||
 | 
					        Hash.hash.addCallback(h => {
 | 
				
			||||||
 | 
					            if(h === undefined){
 | 
				
			||||||
 | 
					                isShown.setData(false)
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        })
 | 
				
			||||||
        isShown.addCallback(isShown => {
 | 
					        isShown.addCallback(isShown => {
 | 
				
			||||||
            if (isShown) {
 | 
					            if (isShown) {
 | 
				
			||||||
                // We first must set the hash, then activate the panel
 | 
					                // We first must set the hash, then activate the panel
 | 
				
			||||||
| 
						 | 
					@ -61,6 +66,8 @@ export default class ScrollableFullScreen extends UIElement {
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    InnerRender(): BaseUIElement {
 | 
					    InnerRender(): BaseUIElement {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue