Geolocation controller for booking

Hello, I’m currently working on a project, I need to be able to have Wix site set to the state that the user is from. So if you are in Hawaii when you select booking plugin the results only show Hawaii based physicians ( geolocation controller )
if you go to the site then you have to use the bookings plugin according to your state location. So if I use the booking plugin in Ohio … it only shows results of physicians in Ohio
The booking would need to force someone to use their state not filter options that will do a search.
Anyone can help with how I can get this done please, is it possible at all?

You can use the getCurrentGeolocation() API to retrieve the user’s current location. Once you have the current location you can then filter your database queries based on the user location.