Where Is The Controller For The 'location' Field In Companies.update?

Hi, I'm looking to edit the functionality of the 'Location' field in companies.update when you activate the 'Vendor locations' addon.

Instead of just a search bar with autocompleting/validating addresses, I want it to function like the map in Store locations & pickup points. Basically I want vendors to pin their coordinates instead. I can't seem to find where 'Vendor locations' processes the data and adds them into the database though. Can anyone point me in the right direction for this?