Google Maps and Apple Maps to select location from maps

Hello, I am making an app with ionic & angular and I need to open google maps for android and apple maps for ios to let user to select the location from the map. After user selects the location from the map also I need to get the selected lat and long. I found launch navigator but I am not sure it has support for selecting the location where the user wants. Any help would be appreciated

yes it does, all you need is the lat/lng where the user selected and pass those into the plugin.

I need to let the user to select from the map and then get the selected lat/lng.

By the way I am using the last version of Ionic which uses capacitor and I could not have found a way to install this cordova plugin.