The documentation will help you with implementing (google)maps https://docs.mendix.com/appstore/widgets/maps
updating the value could be done with a microflow timer, running each 30 sec and executing a nanoflow to create a new marker with current location https://appstore.home.mendix.com/link/app/27/