B
B
Boyarc12212020-06-22 11:47:40
1C-Bitrix
Boyarc1221, 2020-06-22 11:47:40

How to replace a Yandex card in Bitrix?

Hello. There is a site on Bitrix. It has a Yandex Maps component. Tell me how it can be replaced with a Yandex map from the constructor?

1st option - as I understand it, somewhere in the component you can specify the id of the card and then it will stand in place of the old one.
Option 2 - You can remove this component and insert javascript.
With the 2nd option, instead of the component, I insert javascript and the desired map rises, but at the very bottom of the page, and not in the block I need.

Site - https://welcome-rent.ru/
Required map - [api-maps.yandex.ru/services/constructor/1.0/js/?um=constructor%3A569d1334529208af0d8014fc9b81e8284a1706d22e8eb5439bfb6971834ac1ea&]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boyarc1221, 2020-06-22
@Boyarc1221

The map gets to the very bottom of the page, how can I insert it exactly instead of the component? Component code:
<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question