Skip to content
  1. Extras
  2. YandexMapsLocator
  3. Site integration

Locations and TVs

A location on the map is a published MODX resource. Set the container with the snippet parents parameter.

Free TVs

On install, the YandexMapsLocator category and TVs are created:

TVTypePurpose
yandexmaps_addresstextAddress
yandexmaps_latitudetextLatitude
yandexmaps_longitudetextLongitude
yandexmaps_phonetextPhone
yandexmaps_emailtextEmail
yandexmaps_working_hourstextareaWorking hours (text or JSON for Pro)
yandexmaps_categorytextCategory
yandexmaps_balloon_imageimageBalloon image
yandexmaps_marker_iconimageMap marker icon

Rename via yandexmapslocator_tv_*: settings.

Pro TV

TVTypePurpose
ms3_product_idnumberMiniShop3 product resource ID for minishop_product filter

See MiniShop3.

Geocoding in the manager

The Free plugin on OnDocFormRender adds a button: reads the address TV and fills in coordinates. Requires yandexmapslocator_api_key.

Free chunks

ChunkPurpose
yandexmapslocator.outerLocator wrapper
yandexmapslocator.searchSearch form
yandexmapslocator.storeLocation card
yandexmapslocator.emptyEmpty result
yandexmapslocator.errorError

Pro does not ship chunks. UI and data-yml-*: Frontend.

Working hours

Plain text in yandexmaps_working_hours shows on the card.

For open-now status and Pro badges you need JSON and the correct yandexmapslocator_timezone. Otherwise the location is closed for working_now. Details: Open now.