Rename src/tam to src/data
This commit is contained in:
parent
17d36a032c
commit
f8e8b18591
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 => {
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue