capacitor-community / google-maps

Capacitor Plugin using native Google Maps SDK for Android and iOS.

Home Page:https://capacitor-community.github.io/google-maps/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] didTapMarker Callback

mujie-dm opened this issue · comments

commented

Hi,

Please help how to use proper way a didTapMarker and callback and trigger my own function. Here is my short code:

  CapacitorGoogleMaps.didTapMarker({
    options: {
      mapId: document.getElementById("map").getAttribute("data-maps-id"),
      preventDefault: true 
    },
    callback: {  //HOW?
    }
  });

Thanks before.

Regards,
Mujie