Skip to content

Commit

Permalink
Version 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hdelva authored Dec 19, 2019
2 parents 4028b0a + 788c6fb commit 7cad989
Show file tree
Hide file tree
Showing 59 changed files with 1,344 additions and 524 deletions.
77 changes: 46 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plannerjs",
"version": "0.2.1",
"version": "0.2.2",
"description": "The JavaScript framework for journey planning.",
"main": "lib/index.js",
"license": "MIT",
Expand Down Expand Up @@ -44,6 +44,7 @@
"reflect-metadata": "^0.1.13",
"tiles-in-bbox": "^1.0.2",
"tinyqueue": "^2.0.2",
"uri-templates": "^0.2.0",
"uritemplate": "^0.3.4"
},
"pre-commit": [
Expand Down
3 changes: 1 addition & 2 deletions src/analytics/footpaths/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ import { Delaunay } from "d3-delaunay";
import fs = require("fs");
import "isomorphic-fetch";
import "reflect-metadata";

import defaultContainer from "../../configs/default";
import IStopsProvider from "../../fetcher/stops/IStopsProvider";
import ILocation from "../../interfaces/ILocation";
import IPath from "../../interfaces/IPath";
import { DistanceM } from "../../interfaces/units";
import defaultContainer from "../../inversify.config";
import IRoadPlanner from "../../planner/road/IRoadPlanner";
import TYPES from "../../types";
import Geo from "../../util/Geo";
Expand Down
4 changes: 2 additions & 2 deletions src/analytics/isochrones/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { EventEmitter } from "events";
import "isomorphic-fetch";
import "reflect-metadata";
import inBBox from "tiles-in-bbox";
import defaultContainer from "../../configs/default";
import Profile from "../../entities/profile/Profile";
import { RoutableTileCoordinate } from "../../entities/tiles/coordinate";
import RoutableTileRegistry from "../../entities/tiles/registry";
Expand All @@ -11,7 +12,6 @@ import EventType from "../../events/EventType";
import ProfileProvider from "../../fetcher/profiles/ProfileProviderDefault";
import IRoutableTileProvider from "../../fetcher/tiles/IRoutableTileProvider";
import ILocation from "../../interfaces/ILocation";
import defaultContainer from "../../inversify.config";
import { IPathTree } from "../../pathfinding/pathfinder";
import PathfinderProvider from "../../pathfinding/PathfinderProvider";
import TYPES from "../../types";
Expand Down Expand Up @@ -41,7 +41,7 @@ export default class IsochroneGenerator {
RoutingPhase.Base,
);
this.pathfinderProvider = container.get<PathfinderProvider>(TYPES.PathfinderProvider);
this.registry = container.get<RoutableTileRegistry>(TYPES.RoutableTileRegistry);
this.registry = RoutableTileRegistry.getInstance();
this.profileProvider = container.get<ProfileProvider>(TYPES.ProfileProvider);
this.eventBus = EventBus.getInstance();
this.reachedTiles = new Set();
Expand Down
Loading

0 comments on commit 7cad989

Please sign in to comment.