mirror of
				https://github.com/public-transport/db-vendo-client.git
				synced 2025-11-04 01:56:33 +02:00 
			
		
		
		
	
							parent
							
								
									a4dd763a46
								
							
						
					
					
						commit
						f9bfd6918a
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -66,6 +66,8 @@ const parseJourneyLeg = (ctx, pt, date) => { // pt = raw leg
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (pt.jny && pt.jny.polyline) {
 | 
						if (pt.jny && pt.jny.polyline) {
 | 
				
			||||||
		res.polyline = pt.jny.polyline || null
 | 
							res.polyline = pt.jny.polyline || null
 | 
				
			||||||
 | 
						} else if (pt.jny && pt.jny.poly) {
 | 
				
			||||||
 | 
							res.polyline = profile.parsePolyline(ctx, pt.jny.poly)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (pt.type === 'WALK' || pt.type === 'TRSF' || pt.type === 'DEVI') {
 | 
						if (pt.type === 'WALK' || pt.type === 'TRSF' || pt.type === 'DEVI') {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue