YireoTraining_ExampleLokiMapComponents

Examples
PHP 8.1 - 8.4
Magento 2.4.7 | 2.4.8
CSP Yes
Latest Release 0.0.4

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/YireoTraining_ExampleLokiMapComponents

Loki Components

The following LokiComponents are created or references in this module:

example-loki-map-components.simple_map_1 example-loki-map-components.simple_map_2
Module Dependencies

The following dependencies are declared in the module its `etc/module.xml` file:

Loki_Components Magento_Customer Magento_Store YireoTraining_ExampleLokiComponents
Composer details
Magento module name
YireoTraining_ExampleLokiMapComponents
Composer name
yireo-training/magento2-example-loki-map-components
Composer version
0.0.4
Default branch
main
Requirements
ext-json: *
loki/magento2-components: ^2.0
magento/framework: ^103.0
magento/module-customer: ^103.0
magento/module-store: ^101.1
yireo-training/magento2-example-loki-components: ~0.0
Releases
dev-main#cec62151967bcffbbfbe2f7eb987329c6dce8849 20 October 2025
0.0.7 20 October 2025
0.0.6 20 October 2025
0.0.5 20 October 2025
0.0.4 20 October 2025
0.0.2 20 October 2025
0.0.1 20 October 2025
Changelog

[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 jumpTo to jumpToMarker
  • Set first marker as default

[0.0.1] - 22 July 2025

Fixed

  • Initial release

Last modified: September 1, 2025