And you don't know where to configure that settings.
Go to your Settings then
tap the Location and security
tap the Use wireless networks
and last, tap the Agree.
if you don't have a WiFi connection,
you can't still see your My Location
and you will see this notification
another option you can use is your GPS
check the Use GPS satellites
Now, go back to the Google Map application to check if it is now working.