WT Yandex map items
- Categories: Joomla modules, Joomla 4 extensions
- Version: 2.0.0
- Date:
Display data from various component's custom fields like Yandex.Maps placemarks. Joomla articles are displayed as Yandex.maps placemarks. The articles categories and contacts are not displayed yet.

Description
The module outputs Joomla articles as markers on Yandex.maps. Coordinates can be specified in custom fields (text type or Fields - WT Yandex map) separated by commas.
Features of the Yandex.Maps module for Joomla
- Starting from module version 2.0.0, the Yandex.Maps API v 3.0 is used. Version 1.0.0 uses the outdated Yandex.Maps API v.2.1.
- The ability to display placemarks on the map from data sources (so far, there is only one source - Joomla articles)
- The ability to customize (create custom) layouts for layout placemarks and pop-up window contents.
- The ability to override placemark layouts and pop-up window contents Yandex.Maps in the folder with the Joomla template.
- Specifying custom layouts in Joomla custom fields
- Specifying a custom layout for the entire category at once in the custom category field (recommended field types are text or list fields (list, radio buttons, checkboxes, etc.)). It works for both the layout of the map placemark and the layout of the popup window content (tooltips).
- Specifying a custom layout for a specific article in the custom field. The article parameters take precedence over the category parameters. This way, you can select a separate article on the map with a separate placemark layout, as well as a separate layout for the contents of the popup window. It works for both the layout of the map marker and the layout of the popup window content (tooltips).
- Using Javascript literals when creating layouts. Layouts of markers and pop-ups are loaded into the page body as
<template>
. - The module is optimized for a large number of placemarks on the map. On the demo video (demo page) there are more than 2,700 placemarks on one map.
Upgrading from v.1.0.0 to v.2.0.0 requires special attention.
Upgrading from this version to a newer one implies a thoughtful attitude, so we recommend that you read the documentation, and then reinstall the module.
Templating markers and pop-up window contents
You can use the standard Yandex.Maps API 3.0. layouts for both map placemarks and pop-up windows. But you can also create your own output layouts for each category of articles and for each Joomla article.
The parameters of the Joomla article take precedence over the parameters of the parent category. The paths to the layouts are specified relative to the layouts folder and contain the dot character .
instead of the slash /
.
For example, modules.mod_wtyandexmapitems.marker.city-marker
. This approach allows you to use the Joomla redefinition mechanism and redefine layouts in your own template along the templates/path.[YOUR_TEMPLATE]/html/layouts/mod_wtyandexmapitems/marker/city-marker.php
. To specify the marker template and/or the contents of the popup window, use a text field or a list field.
Joomla
- Extension type:
- Module
- Location:
- Site
- Joomla version:
- 4.1, 5.2.5