
YandexMapsLocator
Yandex Maps store locator for MODX 3. Free: map and search. Pro: open now, MiniShop3, CSV, and REST


Contract version 1 (LocatorExtensionApi::CONTRACT_VERSION). Free defines the interfaces. Pro and third-party packages hook in via events.
Interface FeatureProviderInterface, event OnYandexMapsLocatorRegisterFeatureProviders:
| Method | Purpose |
|---|---|
capabilities() | Tags (pro → REST v1) |
frontendModules() | ES modules for locator.js (src is an absolute URL from the site root) |
apiFields() | Extra REST fields (?fields=) |
ProFeatureProvider: capability pro, module /assets/components/yandexmapslocatorpro/js/pro.js, API fields is_open_now, working_hours_schedule, CSV processors.
Interface FilterInterface, event OnYandexMapsLocatorRegisterFilters.
Free: category. Pro: working_now, minishop_product.
OnYandexMapsLocatorSerializeLocation: fields for one location (data by ref)OnYandexMapsLocatorBeforeApiResponse: full response payload