This example, utilizes the Google API to perform a reverse geocode. This is where the user will click on the map, the location clicked is sent to the Google GeoCoder for reverse processing and the address is sent back.
Start by adding the following Google script reference to the example.aspx page (or any other .aspx page which will be used). This allows us to access the Geocoding API.
Next we create the function which will allow the user to click on the map and get the address information at that location. We will use the example code for getting the X,Y clicked.