Smile-SA / magento2-module-store-locator

Magento 2 store locator module
50 stars 57 forks source link

[M2.3] Map not displayed on store view page #39

Closed rbayet closed 5 years ago

rbayet commented 5 years ago

Preconditions

Magento Version : EE 2.3.0

Module Store Locator Version : 1.3.6

Environment : Developer

Third party modules : smile/elasticsuite-for-retailer metapackage and its dependencies

Steps to reproduce

  1. Install smile/elasticsuite-for-retailer and its dependencies
  2. Configure in admin Smile Map to use either OSM or Gmap with valid API keys
  3. Create a Retailer in admin with valid coordinates
  4. In frontend, use the store locator to display the list / maps of shops/retailers, select the retailer created in admin and click on the "Details" link

Expected result

  1. The shop/retailer page should be displayed with the store address, a mini-map (OSM or Gmap) centered on the store, and additional information if available image

Actual result

  1. The map is not displayed
  2. CSS do not seem to be correctly applied
  3. A javascript error is visible in the browser console, it can be "too much recursion" or "Maximum call stack size exceeded" leading to the method refreshDisplayedMarkers of JS component smile-map provided by module smile/module-map

image