A quick update. One of the most important and the thing of frustration for anyone starting with GMap API is getting hold of desired latitude and longitude. There are many ways. I am listing here one of the easiest ways to get the latitude and  longitude of desired location. Here are the steps:
- Go      to the following site : http://www.infosports.com/m/map.htm
 - Navigate      the map till you get the desired location. For example, I required the lat      and long. of Shimla. So I navigated (panned and zoomed) till I got to      Shimla.
 - Then      click on the spot. In my case its Shimla. A marker would be generated at      that point. 
 - click      on the marker to get the latitude and the longitude. Mine is 77.16496467590332,      31.102995000257405
 
That’s it. If there are easier ways do share.
.
  
