Z
Z
zlodiak2018-07-28 14:30:45
JavaScript
zlodiak, 2018-07-28 14:30:45

How to change object on hover?

Please help with a kick in the right direction. I would like to hang up some event (for example, sending an email) when the user tries to increase some marker.
For example user:

  1. opens the map
  2. sees the marker he is interested in
  3. zooms in to scale the map and get as close to the marker as possible
  4. at the moment when the map zoom is equal to, for example, the value 15 and if this marker is located approximately in the center (here is a delicate moment), an email will be sent (I am already implementing it myself)

Is there an opportunity to implement this in yandex maps api 2.1?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2018-07-28
@zlodiak

See map events :

  • boundschange– Map viewport change event (due to center or zoom level change).
  • actionend- The end of the smooth movement of the map.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question