D
D
Dmitry2018-12-28 14:31:20
JavaScript
Dmitry, 2018-12-28 14:31:20

Own blocks on the map + interaction?

Hello, there is a small problem in the implementation of this task -
5c260978af08a318641204.png5c260984e0a39771440875.png
I think I understand how to place a block on the map. I also know how to implement the steps. The question is, when you click on the button on the map, do it so that it goes to step 2? I can't think of this moment, tell me something

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Marat Garifullin, 2018-12-28
@magarif

Depending on how you implemented the button. Catch the click event and use it to open the tab

$(document).on('click'. '.button_class', function() {
  $('.tabs .tab:eq(1)').trigger('click');
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question