|  |  |  | @ -90,8 +90,10 @@@@ -90,8 +90,10 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     if (locations.length > 0) { | 
			
		
	
		
			
				
					|  |  |  |  |         var polyline = L.polyline(locations.map(l => [l.latitude, l.longitude]), { | 
			
		
	
		
			
				
					|  |  |  |  |             color: 'red' | 
			
		
	
		
			
				
					|  |  |  |  |             color: 'blue', | 
			
		
	
		
			
				
					|  |  |  |  |             opacity: 0.6, | 
			
		
	
		
			
				
					|  |  |  |  |         }).addTo(map); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         // zoom the map to the polyline | 
			
		
	
		
			
				
					|  |  |  |  |         map.fitBounds(polyline.getBounds(), { | 
			
		
	
		
			
				
					|  |  |  |  |             maxZoom : 13 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |