mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 18:30:06 +00:00 
			
		
		
		
	Mouse picking boilerplate
This commit is contained in:
		
							parent
							
								
									c7487281ad
								
							
						
					
					
						commit
						38b56be7c4
					
				
					 10 changed files with 115 additions and 17 deletions
				
			
		|  | @ -26,6 +26,13 @@ GenericLayer::GenericLayer(std::shared_ptr<MapContext> context) : | |||
| } | ||||
| GenericLayer::~GenericLayer() = default; | ||||
| 
 | ||||
| bool GenericLayer::RunMousePicking( | ||||
|    const QMapLibreGL::CustomLayerRenderParameters& /* params */) | ||||
| { | ||||
|    // By default, the layer has nothing to pick
 | ||||
|    return false; | ||||
| } | ||||
| 
 | ||||
| std::shared_ptr<MapContext> GenericLayer::context() const | ||||
| { | ||||
|    return p->context_; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat