I am currently in the process of creating a cordova application with ionic and angularjs, where I am using the google maps embed API to include a map within the app.
https://developers.google.com/maps/documentation/embed/guide
https://i.sstatic.net/TOdIt.png
When the user clicks on the "view larger map" option in the infowindow, I want to execute a specific function. However, I have been unsuccessful in defining this action using the default class of the "view larger map" option.
To address this issue, I attempted to use ng-click to call the desired method after the "view larger map" element is added to the page. Unfortunately, since the map is not being displayed through JavaScript code, I am encountering difficulties triggering map idle events.
Is there a way to trigger a method when the user clicks on the "view larger map" option? If not, I am considering creating the map using the google maps javascript API. In that case, how can I display the "View larger map" option in the infowindow?