I
I
Ivan Nesterovich2017-03-23 21:34:16
JavaScript
Ivan Nesterovich, 2017-03-23 21:34:16

How to fix Pin in the center of a div?

It is necessary to organize the determination of the address by coordinates on the site. In my opinion, the most convenient option is to fix the pin in the center of the div and determine new coordinates when moving the map. Tell me how to do this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Nesterovich, 2017-03-24
@vanderv

Found the answer: jsfiddle.net/doktormolle/jcHqt

F
freeExec, 2017-03-24
@freeExec

I didn’t understand either about pin or div, but to get the center coordinates when moving the map, it’s enough to subscribe to the moveMap event or something like that.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question