You can change the location on a Google Map element based on the information that you receive from your customers’ input by changing the location property of this element.
You can find more information in this reference:
https://www.wix.com/corvid/reference/$w.GoogleMap.html#location
You may also find this forum post useful: https://www.wix.com/corvid/forum/community-discussion/map-linked-to-the-database
Do you work with MapBox? I created my map using MapBox. It is time to record latitude and longitude information to the database. How can I do it. I need help.
You are better suited contacting MapBox own support and asking them if they can be integrated with Wix and how.
Although a simple search of MapBox comes up with html examples that could be put in a iframe.
https://docs.mapbox.com/mapbox-gl-js/examples/
Or you can work with their own API and expose your site to it.