Skip to content

Refactor RoutingDelegator to decouple it from GraphHopper

James Westman requested to merge jwestman/gnome-maps:routing-refactor into main

Moved the route property from GraphHopper to RoutingDelegator. That way, the RoutingDelegator could delegate to different services in the future, and the rest of the code won't have to change. Similarly, moved the functionality for restoring a saved route into RoutingDelegator, since it doesn't really concern GraphHopper specifically.

Also, fixed a bug I ran into during testing, where saved recent routes didn't show up in search.

Merge request reports