Merge pull request 'Adds scale line to map client' (#320) from scale_line_map_client into master
Reviewed-on: SGD-Nord/konova#320
This commit is contained in:
		
						commit
						b655b47979
					
				@ -1,7 +1,7 @@
 | 
				
			|||||||
.netgis-attribution
 | 
					.netgis-attribution
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	position: absolute;
 | 
						position: absolute;
 | 
				
			||||||
	left: 0mm;
 | 
						right: 0mm;
 | 
				
			||||||
	bottom: 0mm;
 | 
						bottom: 0mm;
 | 
				
			||||||
	padding: 1mm;
 | 
						padding: 1mm;
 | 
				
			||||||
	background: rgba( 255, 255, 255, 0.5 );
 | 
						background: rgba( 255, 255, 255, 0.5 );
 | 
				
			||||||
 | 
				
			|||||||
@ -133,7 +133,9 @@ netgis.MapOpenLayers.prototype.initMap = function()
 | 
				
			|||||||
			view: this.view,
 | 
								view: this.view,
 | 
				
			||||||
			pixelRatio: 1.0,
 | 
								pixelRatio: 1.0,
 | 
				
			||||||
			moveTolerance: 5,
 | 
								moveTolerance: 5,
 | 
				
			||||||
			controls: []
 | 
								controls: [
 | 
				
			||||||
 | 
									new ol.control.ScaleLine(),
 | 
				
			||||||
 | 
								]
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	);
 | 
						);
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user