Then drag the getGoogleMap into index.jsp file. The page will contain the following code
Google Map Demo App
Hello World!
GoogleMapService.getGoogleMap Method is the method responsible for getting the location in map. Method
getGoogleMap has three parameter which are address,zoom and iframe.
address – address string to generate map for.
Zoom – level of zoom
We need to change the above code to get loaction search functionality using google map web service.
Before running the application we need the Google api key. After getting the api key ,set the key in
googlemapservice.properties file .
Now the application is ready for searching the location.
So here the first result for “India Gate”