Have a look at https://world.mendix.com/display/refguide5/Listen+To+Grid+Source. What you probably want to do is create a data view that listens to the selection of you grid. In the data view you can use the maps widget to show the location.
Every time a different row is selected, the widget retrieves a different object and will render with the location information of that object.