Using the yandexmaps plugin, I try to display the Yandex map in a modal window.
Like this:
<button class="btn btn-info btn-lg" type="button" data-toggle="modal" data-target="#myModal">Показать всплывающее окно</button> <div id="myModal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button class="close" type="button" data-dismiss="modal">×</button> <h4 class="modal-title">Заголовок окна</h4> </div> <div class="modal-body"> [[!yandexMaps? &tvCoords=`coords` &fieldForBalloonContent=`description` &fieldForHint=`pagetitle` &objectsTypesJSON=`[ { "InvestProjects": { "parent":"5", "preset":"islands#violetStretchyIcon", "presetText":"Реализованный", "title":"Инвестиционные проекты" }, "InvestPlaygrounds": { "parent":"6", "icon":"/images/playgrounds_map_icon.png", "title":"Инвестиционные площадки" } } ]` ]] </div> <div class="modal-footer"> <button class="btn btn-default" type="button" data-dismiss="modal">Закрыть</button> </div> </div> </div> </div> But it does not even fit into the modal window, it is immediately displayed, and when I open the modal, it is empty.