How to set a Search locator map to have the view start on the user location coordinates on load

Was wondering if there was a way to pull the coordinates of a user location and set it as the view for a map on load. Tried overriding the locationbias.hbs and setting a global window variable for the location-bias data in the onMount function, but it seems that onMount is asynchronous and the data is only being set at the end of all the scripts. Any help on a different solution would be appreciated! Thank you

@Chris_Xi @Alex_Yang are you familiar with modifying this functionality?