Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
You can do it by using the GMaps4JSF Geocoder service:
PlaceMark placeMark =
GMaps4JSFServiceFactory.getReverseGeocoderService().getPlaceMark(strLatitude,
strLongitude);
The placeMark contains all the data you wish, check the example here:
http://www.mashups4jsf.com/gmaps4jsf-examples/pages/reverseGeocoding.jsf
Original comment by Hazem.sa...@gmail.com
on 3 Jun 2010 at 12:35
Hi Hazemm Saleh,
Thanks for your input.I tryed the same using follwing code.
PlaceMark
place=GMaps4JSFServiceFactory.getReverseGeocoderService().getPlaceMark
("12.508513","78.22398");
System.out.print("-------"+place.getAddress());
And getting follwing execption ,please do the needful help
Exception in thread "main" java.lang.Exception: Error: Connection timed out:
connect
at com.googlecode.gmaps4jsf.services.ReverseGeocoderServiceImpl.getPlaceMark
(ReverseGeocoderServiceImpl.java:73)
at examples.MyProcess.main(MyLocation.java:13);
Original comment by kadiay...@gmail.com
on 4 Jun 2010 at 10:19
please do the needful help
Original comment by kadiay...@gmail.com
on 7 Jun 2010 at 8:38
Checkout your firewall.
Original comment by Hazem.sa...@gmail.com
on 9 Jun 2010 at 7:50
Original issue reported on code.google.com by
kadiay...@gmail.com
on 3 Jun 2010 at 5:03