pronamic / wp-pronamic-google-maps

This plugin makes it easy to add Google Maps to your WordPress post, pages or other custom post types. 🚨 The "Pronamic Google Maps" plugin is no longer being maintained and developed. An alternative is the Google Map field in the Advanced Custom Fields plugin.
http://www.pronamic.eu/plugins/pronamic-google-maps/
24 stars 14 forks source link

add post_id to $marker_options #15

Closed senlin closed 11 years ago

senlin commented 11 years ago

I made a map where I needed to "bind" the markers on the map to a custom post type dropdown on the same page. The way it was solved was by adding $marker->post_id = get_the_ID(); to line 125 of mashup.php

zogot commented 11 years ago

Bah, comment in the wrong place. Still early.

Looks good will merge. Thanks again :+1: