Hi @Hassan Alvi
I don’t believe the issue is due to the position of the location field (inside tab, outside of tab). Instead, the issue looks to be that ‘google’ API is not being loaded.
Are you using the ACF core google map field? Or are you using a 3rd party location field plugin?