A
A
Anton Almost2016-05-20 09:21:39
JavaScript
Anton Almost, 2016-05-20 09:21:39

How to add multiple "2gis" balloons?

The documentation provides an example with variables located randomly, I could not understand the example, I need to place two balloons on the map, how to do this?
update: Making the balloon open by default.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Seva Sargsyan, 2016-05-20
@sevasargsyan

codepen.io/sevasargsyan/pen/ZWdrxg
Just add

DG.marker([54.97,          82.89]).addTo(map).bindPopup('Я балун!');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question