[erlang-questions] Erlang API for GoogleMap?

16 views
Skip to first unread message

Zabrane Mickael

unread,
Jan 13, 2012, 1:34:28 PM1/13/12
to Erlang Questions
Hi guys,

Any Erlang API to access GoogleMap?

Regards,
Zabrane

_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Gleb Peregud

unread,
Jan 13, 2012, 1:44:03 PM1/13/12
to Zabrane Mickael, Erlang Questions

Google Maps is more of an UI thing. Which particular map-related Google service are you interested in?

Zabrane Mickael

unread,
Jan 13, 2012, 1:51:39 PM1/13/12
to Gleb Peregud, Erlang Questions
Let's suppose I've a complete address and want to map it on GoogleMap?

Example:
Apple Inc. Headquarters, Cupertino, CA, United States

Of course, the result should any valid HTML snippet  that I'll embed in a Web page.

Regards,
Zabrane

Gleb Peregud

unread,
Jan 13, 2012, 2:43:21 PM1/13/12
to Zabrane Mickael, Erlang Questions
Google provides geocoding REST API:
http://code.google.com/intl/pl/apis/maps/documentation/geocoding/

which can be used ONLY for doing geocoding of data which will be shown
on public web sites, which are using Google Maps Javascript API for
visualizing results of geocoding. Hence you can't use it for geocoding
something for internal use. It has to be related to public web site
with Google maps displayed on them.

Requests are pretty simple:

http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=true_or_false

and returns simple JSON

Best,
Gleb Peregud
Green Elephant Labs

P.S. We are close to finishing a geocoding server which is capable of
handling very flexible unstructured queries at the moment. It may be
open-sourced in future :)

Zabrane Mickael

unread,
Jan 13, 2012, 4:07:43 PM1/13/12
to Gleb Peregud, Erlang Questions

Exactly the kind of request I was looking after. Thanks Gleb.

> P.S. We are close to finishing a geocoding server which is capable of
> handling very flexible unstructured queries at the moment. It may be
> open-sourced in future :)

Awesome if it'll be open-sourced.

Reply all
Reply to author
Forward
0 new messages