├── .eslintignore ├── view └── frontend │ ├── web │ ├── leaflet │ │ ├── images │ │ │ ├── layers.png │ │ │ ├── layers-2x.png │ │ │ ├── marker-icon.png │ │ │ ├── marker-icon-2x.png │ │ │ └── marker-shadow.png │ │ ├── plugins │ │ │ ├── markercluster │ │ │ │ ├── MarkerCluster.css │ │ │ │ ├── MarkerCluster.Default.css │ │ │ │ └── leaflet.markercluster.js │ │ │ └── geosearch │ │ │ │ ├── l.geosearch.provider.esri.js │ │ │ │ ├── l.geosearch.provider.bing.js │ │ │ │ ├── l.geosearch.provider.nokia.js │ │ │ │ ├── l.geosearch.provider.openstreetmap.js │ │ │ │ ├── l.geosearch.provider.google.js │ │ │ │ └── l.control.geosearch.js │ │ ├── google-mutant.js │ │ └── leaflet.css │ └── js │ │ ├── lib │ │ └── mage │ │ │ └── menu-mixin.js │ │ ├── model │ │ ├── markers.js │ │ └── geoAddress.js │ │ ├── listItemEvent.js │ │ ├── map-provider │ │ ├── osm.js │ │ └── google-maps.js │ │ ├── mapMobile.js │ │ ├── polyfill │ │ └── ie11 │ │ │ └── promise.min.js │ │ ├── geocoder.js │ │ ├── geocoder-provider │ │ ├── osm.js │ │ └── google.js │ │ └── map.js │ ├── layout │ └── smile_map_styles.xml │ └── requirejs-config.js ├── registration.php ├── Api ├── MapProviderInterface.php ├── Data │ ├── GeoPointInterface.php │ ├── GeolocalizedAddressInterface.php │ └── AddressInterface.php └── MapInterface.php ├── etc ├── module.xml ├── acl.xml ├── csp_whitelist.xml ├── di.xml ├── config.xml └── adminhtml │ └── system.xml ├── Model ├── Config │ ├── Backend │ │ └── MarkerIcon.php │ └── Source │ │ └── MapProvider.php ├── GeoPoint.php ├── GeolocalizedAddress.php ├── MapProvider.php ├── Map │ └── DefaultMap.php ├── CountryInformationAcquirer.php ├── Address.php └── AddressFormatter.php ├── ISSUE_TEMPLATE.md ├── composer.json ├── Helper └── Map.php └── .eslintrc /.eslintignore: -------------------------------------------------------------------------------- 1 | **/*{.,-}min.js 2 | -------------------------------------------------------------------------------- /view/frontend/web/leaflet/images/layers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Smile-SA/magento2-module-map/HEAD/view/frontend/web/leaflet/images/layers.png -------------------------------------------------------------------------------- /view/frontend/web/leaflet/images/layers-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Smile-SA/magento2-module-map/HEAD/view/frontend/web/leaflet/images/layers-2x.png -------------------------------------------------------------------------------- /view/frontend/web/leaflet/images/marker-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Smile-SA/magento2-module-map/HEAD/view/frontend/web/leaflet/images/marker-icon.png -------------------------------------------------------------------------------- /view/frontend/web/leaflet/images/marker-icon-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Smile-SA/magento2-module-map/HEAD/view/frontend/web/leaflet/images/marker-icon-2x.png -------------------------------------------------------------------------------- /view/frontend/web/leaflet/images/marker-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Smile-SA/magento2-module-map/HEAD/view/frontend/web/leaflet/images/marker-shadow.png -------------------------------------------------------------------------------- /registration.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /view/frontend/web/js/lib/mage/menu-mixin.js: -------------------------------------------------------------------------------- 1 | define([ 2 | 'jquery', 3 | 'jquery/ui' 4 | ], function ($) { 5 | 'use strict'; 6 | 7 | return function (data) { 8 | $.widget('mage.menu', data.menu, { 9 | _create: function () { 10 | $(this.element).data('ui-menu', this); 11 | this._super(); 12 | } 13 | }); 14 | 15 | data.menu = $.mage.menu; 16 | 17 | return data; 18 | }; 19 | }); -------------------------------------------------------------------------------- /Model/Config/Backend/MarkerIcon.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |