Hello,
This is more of a javascript question/ I’d like to be able to access the map Javascript properties to try some customization.
Looking at “plugins/the-events-calendar-pro/src/resources/js/tribe-events-ajax-maps.js” I see variables like tg.map, tg.marker, etc.
How can I access these properties externally, like from my theme’s footer?
For example, if I just want to confirm that “tg.map” is accessible, I might put something like this directly before my closing body tag:
<script>
alert(tg.map.join("\n"));
</script>
However, “tg.map” has to be written another way since I’m calling it outside of “tribe-events-ajax-maps.js”. I’m a beginner with JS so I’m not sure of the correct way.