Getting the longitude and latitude from Google maps can be quite annoying, here's a simple way to do it!

  1. Go to Google Maps and perform your search.
  2. Once you have found the place you are looking for, do not move the map around.
  3. When ready, copy the following line into your browsers address bar and press enter. It only returns the longitude and latitude of the place in the center of the map, so moving the map around after searching will bring back the wrong points.
javascript:void(prompt('',gApplication.getMap().getCenter()));