Add pins on Google Map of Directory Category


I have created a page that filters and displays a category of listings from the Directory Plugin.

I wish to add a Google Map above the list with pins representing all the listings within the category. I noticed i can use a shortcode to get tags of posts [map query="tag=my_tag"] can this logic be applied to the directory custom posts?