Z
Z
zwezew2018-07-11 11:05:36
JavaScript
zwezew, 2018-07-11 11:05:36

Is it possible to add a third-party popup plugin or a self-written solution when clicking on a Yandex map marker?

Is it possible to add a third-party popup plugin or a self-written solution when clicking on a Yandex map marker instead of a balloon?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-07-11
@zwezew

Create a label and hang an event on a click on the label:

let point = new ymaps.Placemark(/* Описание маркера */)
point.events.add('click', function(e){
    //Действие при клике на на маркер
});

Read more:
Yandex.Maps events

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question