Loki_MapComponents

Jump to User Docs

Components

This is an add-on package to LokiComponents. It contains templates, Alpine.js components and PHP classes to build maps into other modules. It can be used within the LokiCheckout and on other Magento pages.

Installation

Install this package via composer (assuming you have setup the composer.yireo.com repository correctly already):

composer require loki/magento2-map-components

Next, enable this module:

bin/magento module:enable Loki_MapComponents

Support

For getting support, create an Issue under the following project URL:

https://gitlab.yireo.com/loki-checkout/Loki_MapComponents

Configuration Options

The following options of this module can be configured via the Store Configuration:

Generic Settings > Default longitude
loki_map_components/generic/default_longitude
Longitude to center the map towards at the beginning
Generic Settings > Default latitude
loki_map_components/generic/default_latitude
Latitude to center the map towards at the beginning
Google Maps Settings > API key
loki_map_components/google/api_key
Enter your Google Maps API key
Module Dependencies

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

Magento_Backend Magento_Customer Loki_Components Loki_FieldComponents
Composer details
Magento module name
Loki_MapComponents
Composer name
loki/magento2-map-components
Composer version
0.1.1
Default branch
main
Requirements
magento/framework: ^103.0
magento/module-backend: ^102.0
magento/module-customer: ^103.0
loki/magento2-components: ^2.0
Releases
dev-main 24 July 2025
0.1.1 24 July 2025
0.1.0 22 July 2025
0.0.2 08 July 2025
0.0.1 19 June 2025
Changelog

[0.1.1] - 24 July 2025

Fixed

  • Rename jumpTo to jumpToMarker
  • Create separate store for markers and maps

[0.1.0] - 21 July 2025

Fixed

  • Rename PHP namespace from Yireo_Loki* to Loki*
  • Rename composer package from yireo/magento2-loki* to loki/magento2*

[0.0.2] - 08 July 2025

Fixed

  • Remove dep with LokiCheckout

[0.0.1] - 19 June 2025

Initial release

Jump to User Docs

Last modified: July 22, 2025