Create view to display a Gmap for locations on node you are currently viewing
Filter on 'Content: Nid' in contextual filters.
Under 'WHEN THE FILTER VALUE IS NOT AVAILABLE', choose 'Provide default value' and 'Content ID from URL'


This will look for a node id in the url and filter your view on that id.