B
B
Benderlidze2015-09-25 13:16:45
Yandex maps
Benderlidze, 2015-09-25 13:16:45

How to change the text in the balloon on the click of a button in Yandex map?

There are 10 markers. Clicking opens a balloon with text and a change button.
On clicking the button, the text changes to a shape and the balloon becomes draggable.
I change the text, I transfer the balloon, I press save.
How to do this?
On Google it's elementary with jquery, but there are big problems with Yandex.
Maybe an example or something like that? Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
forgotten, 2015-09-25
@forgotten

What was the problem?

M
Maxim E, 2015-09-25
@creativeworm

dev.sar-lab.ru/map , see this boom_map.js

/**
             * Добавляем метку и всплывающее окно
             */
      
             var myPlacemark = new ymaps.Placemark(coords, {
       
             balloonContent: desc_html
             }, {
            iconLayout: 'default#image',
       /*iconImageHref: 'myIcon.gif',
       iconImageSize: [30, 42],
       iconImageOffset: [-3, -42],*/
       iconImageHref: 'cryplat.gif',
       iconImageSize: [72, 36],
       iconImageOffset: [-36, -30]
             });

             myMap.geoObjects.add(myPlacemark);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question