diff --git a/src/client/lib/src/pages/home.dart b/src/client/lib/src/pages/home.dart index f9032db..f5da5ee 100644 --- a/src/client/lib/src/pages/home.dart +++ b/src/client/lib/src/pages/home.dart @@ -12,7 +12,7 @@ class HomePage extends ReactiveWidget { @override Widget build(BuildContext context, HomeModel model) => Scaffold( - appBar: AppBar(title: const Text("Counter")), + appBar: AppBar(title: const Text("Bing Maps")), body: Row( children: [ SizedBox( @@ -69,6 +69,7 @@ class HomePage extends ReactiveWidget { for (final (stop, reason) in model.pathWaypoint) Marker( markerId: MarkerId(stop.id.id), position: stop.coordinates.toLatLng(), + flat: true, infoWindow: InfoWindow( title: reason, snippet: stop.description, diff --git a/src/shared/lib/src/graph/algorithm.dart b/src/shared/lib/src/graph/algorithm.dart index f18bc3e..b62eb64 100644 --- a/src/shared/lib/src/graph/algorithm.dart +++ b/src/shared/lib/src/graph/algorithm.dart @@ -32,7 +32,7 @@ Iterable? findPath(Coordinates start, Coordinates end) { endPoint: end, ); log("Finding a route using ${state.hash()}"); - final result = aStar(state, limit: 1000, verbose: false); + final result = aStar(state); if (result == null) continue; paths.add(result.reconstructPath()); }