M
M
Max Darkleviathan2018-03-05 10:33:58
JavaScript
Max Darkleviathan, 2018-03-05 10:33:58

How, when selecting select points on the google map, tie each point to a button?

There is such a map code: https://codepen.io/anon/pen/aqrVPO
As when selecting a specific item, and clicking on the "select" button, open your link for each item.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2018-03-05
@darkleviathan

Since options in select are created on the basis of the markers array, links should probably be added to its elements. In the click handler on the current select value, we get the required markers element and... right ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question