Rename src/tam to src/data

This commit is contained in:
Mattéo Delabre 2022-07-05 17:57:21 -04:00
parent 17d36a032c
commit f8e8b18591
Signed by: matteo
GPG Key ID: AE3FBD02DC583ABB
12 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
import express from "express"; import express from "express";
import * as courses from "../tam/courses.js"; import * as courses from "../data/courses.js";
const app = express(); const app = express();
const port = 4321; const port = 4321;

View File

@ -1,5 +1,5 @@
import network from "../tam/network.json"; import network from "../data/network.json";
import * as simulation from "../tam/simulation.js"; import * as simulation from "../data/simulation.js";
import * as map from "./map/index.js"; import * as map from "./map/index.js";
// Run courses simulation // Run courses simulation

View File

@ -3,7 +3,7 @@ import Point from "ol/geom/Point";
import { fromExtent } from 'ol/geom/Polygon'; import { fromExtent } from 'ol/geom/Polygon';
import { Style, Icon } from "ol/style"; import { Style, Icon } from "ol/style";
import { sizes, cacheStyle, makeBorderColor, makeCourseColor } from "./common"; import { sizes, cacheStyle, makeBorderColor, makeCourseColor } from "./common";
import network from "../../tam/network.json"; import network from "../../data/network.json";
const courseStyle = cacheStyle( const courseStyle = cacheStyle(
lineColor => { lineColor => {

View File

@ -1,4 +1,4 @@
import network from "../../tam/network.json"; import network from "../../data/network.json";
import { cacheStyle, makeBorderColor, sizes } from "./common"; import { cacheStyle, makeBorderColor, sizes } from "./common";
import GeoJSON from "ol/format/GeoJSON"; import GeoJSON from "ol/format/GeoJSON";