Link the map card theme to the active Home Assistant theme

I couldn’t find this posted anywhere. The map card can currently be toggled for light or dark in lovelace (yay!). However, I can’t figure out how to automatically change from light to dark based on the current active Home Assistant theme.

Use case: I have a wall mounted tablet that has a map card on it. At night, I switch the system theme from a light theme to a dark theme, but the map theme remains unchanged. It is bright enough to light up the room at night, but is perfectly dim when the map is set to dark mode. I can use fully to black out the screen, but I feel the better solution is the one where the map theme tracks the active theme.

Anyone agree?