amanr24 commited on
Commit
4e7e2ae
·
verified ·
1 Parent(s): 4594a89

Update utils/astar_algo.py

Browse files
Files changed (1) hide show
  1. utils/astar_algo.py +1 -1
utils/astar_algo.py CHANGED
@@ -76,7 +76,7 @@ def get_route(source, destination):
76
 
77
  route = ox.shortest_path(G, start, dest)
78
 
79
- fig = ox.plot_route_folium(G, list(path), tiles='openstreetmap', route_color='r', route_linewidth=5, node_size=40, route_alpha=0.5,
80
  figsize=(64, 64))
81
  #fig, ax = ox.plot.plot_graph_route(G, list(path), route_color='r', route_linewidth=5, node_size=40, route_alpha=0.5,
82
  # figsize=(64, 64))
 
76
 
77
  route = ox.shortest_path(G, start, dest)
78
 
79
+ fig = ox.folium.plot_route_folium(G, list(path), tiles='openstreetmap', route_color='r', route_linewidth=5, node_size=40, route_alpha=0.5,
80
  figsize=(64, 64))
81
  #fig, ax = ox.plot.plot_graph_route(G, list(path), route_color='r', route_linewidth=5, node_size=40, route_alpha=0.5,
82
  # figsize=(64, 64))