Служба поддержки работает 24/7 — мы всегда на связи по вопросам хостинга и серверов.Открыт прием заявок на аренду выделенных серверов и размещение оборудования в дата-центре.Напоминаем: рекомендуем включить резервное копирование для дополнительной защиты данных.Доступна новая линейка VPS/VDS с NVMe-дисками и увеличенной производительностью.Технические работы на части серверов завершены. Все сервисы работают в штатном режиме.

MODULE FOR 1C-BITRIX

Andrew Zahalski

AWZ: Yandex Maps Conflict Resolution

Purpose The module provides centralized management for Yandex Maps API connections by replacing all direct links to api-maps.yandex.ru with a single URL configured in the settings. This prevents conflicts and errors that occur when multiple modules (awz.ydelivery, awz.belpost, awz.europost) operate simultaneously using different keys or versions of the ymaps library.

Technical details

Published
11.03.2026
Version
1.0.3
Installed
Less than 50 times
Compatible editions
'First Site', 'Start', 'Standard', 'Small Business', 'Business', 'Corporate Portal', 'Enterprise', 'Online Store + CRM'
Responsive
Yes
Composite Mode Support
Yes
Compatible with Sites24
No
Developer
Andrew Zahalski

What this solution does

Purpose

The module provides centralized management for Yandex Maps API connections by replacing all direct links to api-maps.yandex.ru with a single URL configured in the settings. This prevents conflicts and errors that occur when multiple modules (awz.ydelivery, awz.belpost, awz.europost) operate simultaneously using different keys or versions of the ymaps library.

Key Features

Automatic script replacement: The module intercepts the page HTML content and substitutes all requests to api-maps.yandex.ru with the address specified in the configuration.

Flexible control: The ability to enable or disable the module for individual sites within multi-site solutions.

URL-based exclusions: Configuration of rules to disable the module on specific pages using regular expressions.

Parameter-based exclusions: The option to disable functionality on pages containing specific GET parameters.

Automatic key retrieval: If modules awz.ydelivery, awz.belpost, awz.europost, or fileman are installed, the system attempts to automatically extract and use API keys from their settings.

Enterprise support: When an Enterprise version key is available, the module automatically switches the connection to enterprise.api-maps.yandex.ru.

How it works

The AWZ: Yandex Maps Conflict Resolution module integrates with the Bitrix core via the OnEndBufferContent event. Processing occurs only at the final stage of HTML page generation for standard GET requests, explicitly excluding the administrative panel, POST requests, and AJAX calls. In multisite projects, settings are retrieved specifically for the current site (SITE_ID). Before execution, the script checks the current URL and GET parameters against regular expressions to disable the module if required.

The code processing algorithm searches for all tags containing the api-maps.yandex.ru connection. The first found connection is replaced with the URL specified in the settings, appending the #awzfixymap marker for subsequent cleanup. All other duplicate connections to Yandex Maps are removed. The #awzfixymap marker is also stripped from the final HTML output.

Installation involves automatic registration within the system, which triggers the connection of the event handler. Configuration is managed via the administrative section 'Module Settings' → 'AWZ: Yandex Maps Conflict Resolution Module Settings'. In multisite configurations, settings are stored separately for each site, allowing flexible control over module behavior. The primary option 'Enable Module (ACTIVE)' allows activation or deactivation of the functionality on the current site; the default value is set to 'No'.

AWZ: Yandex Maps Conflict Resolution

Ymaps Library URL

Enter the full URL to connect the ymaps library. If left empty, the address will be generated automatically based on keys defined in other modules.

Disable on pages with GET parameters (DSBL_GET)

List GET parameters separated by commas. The module will remain inactive if any of these parameters are present in the URL. For example, specifying preview,edit will disable the module on pages like /catalog/?preview=1 or /product/?edit=true.

Disable by regular expression (DSBL_REJ)

Enter a list of regular expressions, each on a new line. If the current URL matches any of them, the module will not run. Examples:

/catalog/ — exact path match (applies to /catalog/index.php).

#\/catalog\/*#i — regular expression (does not apply to */catalog/*).

These rules take precedence over enable rules.

Enable by regular expression (ENBL_REJ)

Specify a list of regular expressions, each on a new line. If at least one expression is provided, the module will function only on pages matching these patterns.

Access Rights

User group access permissions are configured in a separate settings tab.

General iT can install and configure this module and check how it works on your website.

UPDATE HISTORY

What’s new

2 releases
1.0.3 (22.02.2026)Latest update

- bug fixes.

1.0.2 (22.02.2026)

- module initialization.

YOUR PROJECT INFRASTRUCTURE

A home for your website

BEFORE YOU ORDER

Let’s go through the details.

How do I purchase a solution?
Submit a request on the solution page. A manager will check your selection, confirm the terms and arrange the purchase. We can also help with installation and setup.
Is a 1C-Bitrix licence included?
The default price covers the solution itself. If the developer offers a bundle with a 1C-Bitrix licence, you can select it separately on the solution page.
Can I try a solution first?
Available online demos and trial periods are shown on the solution page. The trial length depends on the solution.
How much does renewal cost?
Renewal is calculated as 50% of the full solution price before discounts. A manager will confirm the renewal terms and period before you order.
Can you help implement the solution?
Yes. We can build a website or store based on a template, or install, configure and check a module for compatibility. The scope and cost of the work are agreed separately.

GENERAL iT

Let’s discuss your project

Получатель: ООО «Дженерал Ай Ти Рус»

1C-BITRIX

Install solution

Enter a domain with or without https://. The installer will open in your website control panel in a new tab.

Solution screenshots

Solution screenshot