How to open google map stock app from Ionic app

Hello guys,

What’s the best practice for opening google map stock app from ionic app?

For instance, I have latitude and longitude info for destination and start location stored in my ionic app. I want my users to open up google map app with the distance info.

Thanks,

I found a great solution here:

But if you guys know any better option, let me know.

Thanks,