Rename src/tam to src/data
This commit is contained in:
		
							parent
							
								
									17d36a032c
								
							
						
					
					
						commit
						f8e8b18591
					
				|  | @ -1,5 +1,5 @@ | |||
| import express from "express"; | ||||
| import * as courses from "../tam/courses.js"; | ||||
| import * as courses from "../data/courses.js"; | ||||
| 
 | ||||
| const app = express(); | ||||
| const port = 4321; | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| import network from "../tam/network.json"; | ||||
| import * as simulation from "../tam/simulation.js"; | ||||
| import network from "../data/network.json"; | ||||
| import * as simulation from "../data/simulation.js"; | ||||
| import * as map from "./map/index.js"; | ||||
| 
 | ||||
| // Run courses simulation
 | ||||
|  |  | |||
|  | @ -3,7 +3,7 @@ import Point from "ol/geom/Point"; | |||
| import { fromExtent } from 'ol/geom/Polygon'; | ||||
| import { Style, Icon } from "ol/style"; | ||||
| import { sizes, cacheStyle, makeBorderColor, makeCourseColor } from "./common"; | ||||
| import network from "../../tam/network.json"; | ||||
| import network from "../../data/network.json"; | ||||
| 
 | ||||
| const courseStyle = cacheStyle( | ||||
|     lineColor => { | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| import network from "../../tam/network.json"; | ||||
| import network from "../../data/network.json"; | ||||
| import { cacheStyle, makeBorderColor, sizes } from "./common"; | ||||
| 
 | ||||
| import GeoJSON from "ol/format/GeoJSON"; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue