This answer assumes you use the Google Maps widget. In the ‘Data source’ section of the widget, you can set an Xpath constraint. You can use this to filter the data, you can either:
- Create a helper object, which references the object you wish to show. On the page, add a data view with this helper object, add the widget to the data view and add a constraint like [HelperModule.HelperEntity_Location = '[%CurrentObject%]']
- On the page, add a data view with the object you want to show, add the widget to the data view and add a constraint like [id = '[%CurrentObject%]']