2

I am trying to make an application which draws a heatmap. I have a file with home addresses which I am going to put on the map. Every address is a new line in this file. I know how to create a heatmap layer when have coordinates.
What is the best way to get coordinates for these addresses?
I know there are couple ways of doing that, but the one that I am looking for is the way to do it on a server. I know that I have to send a request to the server. Can you please provide an example code in Java which gets a lat long coordinates for it.

Kara
  • 6,115
  • 16
  • 50
  • 57
Andrei
  • 801
  • 2
  • 10
  • 27

1 Answers1

0

You could use this library:

http://code.google.com/p/geocoder-java/

It has documented examples as well.

povilasp
  • 2,386
  • 1
  • 22
  • 36
  • Thanks for your help but the problem is that I saw this page. I am not sure how it works. That's why I am asking if somebody can share their code or give me a sample code how to send and receive request from Google – Andrei Dec 11 '12 at 19:33