Created
January 25, 2017 23:26
-
-
Save OlegShchavelev/7f54621e3e3973b2ed928774a16873db to your computer and use it in GitHub Desktop.
Добавить в скрипт параметр разрешить/запретить изменение масштаба колесиком мышки
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Добавляем в настройки сниппета yandexMaps параметр scroll тип вывод список |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[+scroll]] //Выкл. зум карты |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$scroll = $modx->getOption('scroll', $scriptProperties, true); // Добавляем параметр scroll | |
$tplParams = array( | |
... | |
'scroll' => $scroll, | |
... | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment