More-info device/person map location

I’ve created a picture glance card as a “person” card with various icons and information. I’d like the make one of the components on the card a “map” with the device/person location like mushroom person cards or device tracker button cards do. If anyone could help, that would be great!