Hi folks,
I’m trying to integrate The Event Calendar Events with Pro’s Map element, as well as using Providers / Consumers.
The issue is that the Event’s Lat and Longitude are not held in the Event’s Post — there’s an accompanying post type (Venue) that holds the Latitude / Longitude. I’m able to get the latitude / longitude by looping into the Venue object and pulling out that field (see my cheat sheet: https://windkiddev.wpenginepowered.com/events/).
What I’d like to do is: Event Consumer (simple DIV) inside the Map element. This DIV is also a Provider, keyed to the Event’s Venue. Then the Map Marker Indicator consumes the Venue and outputs the Lat / Long.
It doesn’t appear that this functionality is available as of now — or maybe there’s a beta feature I could implement? Maybe I could use a Custom Provider? or… there’s a totally different way to approach the problem.
Thanks!