I want to show google map with default his city, when the page loads

iam trying to access city,county , state or region based on geolocation
i have added mdg:geolocation
i will be passing the default lat and lng to the google maps as parameter and it will display his current location

then i also wants to extract his city, country and state name??

how can i do that, any sample code