Widget:Floors2gis: различия между версиями
Перейти к навигации
Перейти к поиску
Rodion (обсуждение | вклад) Нет описания правки Метка: отменено |
Rodion (обсуждение | вклад) Нет описания правки Метка: отменено |
||
Строка 3: | Строка 3: | ||
<html> | <html> | ||
<div id="container" style="width: 800px; height: 600px;"></div> | <div id="container" style="width: 800px; height: 600px;"></div> | ||
<script | <script | ||
charset="utf-8" | |||
src="https://floors-widget.api.2gis.ru/loader.js" | |||
id="dg-floors-widget-loader" | |||
></script> | |||
<script charset="utf-8"> | |||
DG.FloorsWidget.init({ | |||
width: '960px', | |||
height: '600px', | |||
initData: { | |||
complexId: '{{{complexId}}}', | |||
}, | |||
}); | |||
} | |||
</script> | </script> | ||
</html> | </html> |
Версия от 13:18, 7 апреля 2025
Использование
Используйте виджет с параметром complexId:
Где 123456789 - ID комплекса в 2GIS.