Combine list form and GoogleMap visualization

Hi,
I'm using Joomla! 3.9.1 and Fabrik 3.9.
I've created a visualization view using googlemap type, I need to know:
  1. How can I get a list of markers IDs using Javascript?
  2. How to open InfoWindow for a specific marker by external link click?
For oppening an InfoWindow from a link, I followed this thread (https://goo.gl/xVm4sB) and I used the below Javascript code:
JavaScript:
requirejs(['fab/fabrik'], function () {
var h = document.getElementById("link");
h.addEventListener("click", function (viz) {
  google.maps.event.trigger(viz.markers[0], 'click');
  });
});
The click link didn't work and Javascript error: Uncaught TypeError: Cannot read property '0' of undefined at HTMLAnchorElement.<anonymous>
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top