I'm only able to get popup on click. Can we get popup on marker mouseover?

Here's the example link

Like in this example popup start display onclick on marker... But I wanted popup will automatically display when I'm moving my cursor over the marker icon.


In the example you provided, you can see two events associated with the map object: click and pointermove. If I understood you well, you just have to switch the click event callback function with the pointermove event.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.