C
C
Cyber_bober2016-03-13 17:42:33
JavaScript
Cyber_bober, 2016-03-13 17:42:33

Is it possible to convert addresses to coordinates on the client?

Hello, who knows if it is possible to convert a string with an arbitrary address like "Moscow, Tverskaya st. 66" into coordinates already on the client? There is a dump where the addresses are written in this way, I want to display them on the map.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
display: block, 2016-03-13
@Cyber_bober

You can get coordinates.
http://maps.google.com/maps/api/geocode/json?addre...
Maybe it's easier to do this?
https://maps.google.com/maps?q=Moscow, Tverskaya st., 66

Y
Yuri, 2016-03-14
@riky

dadata ru has such a transformation.
but it’s better to save the coordinates once in both dadat and google, otherwise you will quickly fly out into the limits. the operation is not cheap in terms of resources

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question