Download Nanoflow Commons from the Marketplace. You’ll find location, navigation, and mapping functions in there that should allow you to find the users current location and open up a map for directions.
https://docs.mendix.com/appstore/modules/nanoflow-commons
Hope this helps.