Vector map does not always refresh when switching between Light and Dark mode while inside an active routing directions view
As you can see with this demonstration video, on the 46 beta / nightly version, the vector map is not forced to refresh when switching between color modes while there is a route drawn on the map:
GNOME_Maps_46_beta_light_vs_dark_switching_in_directions_routing_mode