We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 946cc7c commit fdc3c3aCopy full SHA for fdc3c3a
nextplot/route.py
@@ -340,7 +340,7 @@ def create_map(
340
Plots the given routes on a folium map.
341
"""
342
# Determine bbox
343
- bbox = common.bounding_box([r.points for r in routes])
+ bbox = common.bounding_box([r.points for r in routes] + unassigned)
344
345
# Make map plot of routes
346
m, base_tree = common.create_map(
@@ -689,7 +689,7 @@ def nextroute_profile() -> RoutePlotProfile:
689
jpath_route="solutions[-1].vehicles[*].route",
690
jpath_x="stop.location.lon",
691
jpath_y="stop.location.lat",
692
- jpath_unassigned="solutions[-1].unplanned",
+ jpath_unassigned="solutions[-1].unplanned[*]",
693
jpath_unassigned_x="location.lon",
694
jpath_unassigned_y="location.lat",
695
)
0 commit comments