YireoTraining_ExampleLokiMapComponents
Examples
PHP
8.1 - 8.4
Magento
2.4.7 | 2.4.8
CSP
Yes
PHPStan
5
Magento PHPCS
8
Latest Release
0.0.12
Example module to demonstrate various use-cases of the LokiMapComponents module, as being used in the Yireo LokiCheckout extension suite for Magento 2.
Installation
Install this package via composer (assuming you have setup the composer.yireo.com repository correctly already):
composer require yireo-training/magento2-example-loki-map-components
Next, enable this module:
bin/magento module:enable YireoTraining_ExampleLokiMapComponents
Support
For getting support, create an Issue under the following project URL:
https://gitlab.yireo.com/loki-checkout-dev/YireoTraining_ExampleLokiMapComponents.git
Loki Components
The following LokiComponents are created or references in this module:
loki-map-component-example.simple_map_1
loki-map-component-example.simple_map_2
Module Dependencies
The following dependencies are declared in the module its `etc/module.xml` file:
Loki_Base
Loki_Components
Loki_CssUtils
Loki_MapComponents
Magento_Backend
Magento_Config
Magento_Customer
Magento_Directory
Magento_Eav
Magento_Quote
Magento_Store
YireoTraining_ExampleLokiComponents
Yireo_CspUtilities
Composer details
Magento module name
YireoTraining_ExampleLokiMapComponentsComposer name
yireo-training/magento2-example-loki-map-componentsComposer version
0.0.12
Default branch
main
Requirements
loki/magento2-components: ^2.0
loki/magento2-css-utils: ^1.0
loki/magento2-map-components: ^1.0
magento/framework: ^103.0
magento/module-customer: ^103.0
magento/module-store: ^101.1
yireo-training/magento2-example-loki-components: ~0.0.18
Releases
| 0.0.12 | 12 June 2026 |
| 0.0.11 | 12 June 2026 |
| 0.0.10 | 12 June 2026 |
| 0.0.9 | 12 June 2026 |
| 0.0.8 | 12 June 2026 |
| 0.0.7 | 12 June 2026 |
| 0.0.6 | 12 June 2026 |
| 0.0.5 | 12 June 2026 |
| 0.0.4 | 12 June 2026 |
| 0.0.2 | 12 June 2026 |
| 0.0.1 | 12 June 2026 |
Changelog
[0.0.12] - 27 March 2026
Fixed
- Force dep with Loki_MapComponents
[0.0.11] - 12 March 2026
Fixed
- Fix icon width in Google Maps
- Working Leaflet implementation
- Consolidate all maps in
Loki_MapComponents - Fix switching in between markers
- Make icon props configurable via XML layout
- Fix current marker label
- Fix essentials of map after LokiCheckout integration work
- Heavily refactor Location, Address and Marker objects and factories
[0.0.10] - 28 January 2026
Fixed
- Update MODULE.json with PHPCS severity 8
- Fix Leaflet jump to marker issue
- Rename Yireo to Loki Checkout partner
[0.0.9] - 12 January 2026
Fixed
- Copy generic CI/CD files
- Add dep with loki-map-components
[0.0.8] - 17 October 2025
Fixed
- Upgrade deps
[0.0.7] - 24 September 2025
Fixed
- Change XML layout name
[0.0.6] - 17 September 2025
Fixed
- Add LESS sources
[0.0.5] - 16 September 2025
Fixed
- Allow for simpler way of working with map components
[0.0.4] - 02 September 2025
Fixed
- Add CI files
[0.0.3] - 21 August 2025
Fixed
- Replace LokiComponentsUtilBlockCssClass with LokiCssUtilsUtilCssClass
- Fix wrong escaping
- Fix newlines after comments
- Declare used PHP namespaces
- Add escaping of template code
- Document latest version of template
[0.0.2] - 24 July 2025
Fixed
- Working maps with custom LokiMapStore
- Rename
jumpTotojumpToMarker - Set first marker as default
[0.0.1] - 22 July 2025
Fixed
- Initial release
Last modified: June 1, 2026