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


| Event | When |
|---|---|
OnYandexMapsLocatorRegisterFilters | Building the filter registry |
OnYandexMapsLocatorRegisterFeatureProviders | Registering Pro and third-party providers |
OnYandexMapsLocatorBeforeStorePrepare | Before finalizing the Store DTO |
OnYandexMapsLocatorAfterStorePrepare | After building the Store DTO |
OnYandexMapsLocatorBeforeSearch | Before the query (snippet and REST) |
OnYandexMapsLocatorAfterSearch | After loading the list |
OnYandexMapsLocatorSerializeLocation | Before location fields in REST v1 |
OnYandexMapsLocatorBeforeApiResponse | Before REST JSON (version, action, payload) |
In a plugin, return the modified Store via $modx->event->output($store) or assign the object to store (by-ref in Before/After StorePrepare).
OnYandexMapsLocatorBeforeSearch runs for both the snippet and REST. After the event, the API runs ApiSearchGuard again: parent scope, limits, where forbidden, product_id cleared without Pro.
| Package | Events |
|---|---|
| Free | OnDocFormSave, OnSiteRefresh, OnDocFormRender (mgr geocoding) |
| Pro | RegisterFeatureProviders, RegisterFilters, AfterStorePrepare, SerializeLocation |
Extension contract: Extension API.