mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	feat(geomap): the line of GPX traces now respects the #color attribute
				
					
				
			This commit is contained in:
		
							parent
							
								
									9ba49bdc5f
								
							
						
					
					
						commit
						d7c6c8f5fd
					
				| @ -239,6 +239,9 @@ export default class GeoMapTypeWidget extends TypeWidget { | |||||||
|                 wptIcons: { |                 wptIcons: { | ||||||
|                     "": this.#buildIcon("bx bx-pin") |                     "": this.#buildIcon("bx bx-pin") | ||||||
|                 } |                 } | ||||||
|  |             }, | ||||||
|  |             polyline_options: { | ||||||
|  |                 color: note.getLabelValue("color") ?? "blue" | ||||||
|             } |             } | ||||||
|         }); |         }); | ||||||
|         track.addTo(this.geoMapWidget.map); |         track.addTo(this.geoMapWidget.map); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran