I
I
Ilya Beloborodov2016-08-15 12:41:31
css
Ilya Beloborodov, 2016-08-15 12:41:31

Find out the name of the city where the marker was placed?

There is a map, by clicking on it, I put a marker, like this

map.addListener('click', function(event) {
    addMarker(event.latLng);
});

It is very necessary to find out in which city the marker is located, maybe so?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Sanych, 2016-05-02
@mountpoint

by clicking on the menu using JS / jQuery, toggle the block with the menu. Depending on which item of the top menu the mouse is on, you highlight such a block of the menu itself (also using JS / jQuery). There it is linked via the rel attribute.

D
Dmitry Entelis, 2016-08-15
@kowap

Can.
reverse geocoding.
https://developers.google.com/maps/documentation/j...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question