I
I
Ilya Beloborodov2016-07-29 14:58:57
Google
Ilya Beloborodov, 2016-07-29 14:58:57

Adding a marker to the map by the user on click, how to do it?

Let me know if anyone saw or did it.
The bottom line is that the user must leave one marker on the map, if he clicked on another place, then the old marker is removed, and a new one is added.
Even I can't find an example anywhere
____
That's what happened
https://jsfiddle.net/h33vwx1L/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2016-07-29
@kowap

https://developers.google.com/maps/documentation/j...
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