@woosmap/ui 4.131.4 → 4.131.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -186,7 +186,7 @@ storesOverlay.setMap(map);
|
|
|
186
186
|
if (window?.woosmap?.map && MapHTMLElement) {
|
|
187
187
|
window.woosmap.map.config.setApiKey('woos-48c80350-88aa-333e-835a-07f4b658a9a4');
|
|
188
188
|
|
|
189
|
-
if (!this.
|
|
189
|
+
if (!this.storesOverlay) {
|
|
190
190
|
this.storesOverlay = new window.woosmap.map.StoresOverlay({
|
|
191
191
|
breakPoint: 14,
|
|
192
192
|
rules: [],
|
|
@@ -232,10 +232,8 @@ storesOverlay.setMap(map);
|
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
if (hasStores) {
|
|
235
|
-
console.log("here2");
|
|
236
235
|
this.storesOverlay.setMap(this.map);
|
|
237
236
|
} else {
|
|
238
|
-
console.log("here1");
|
|
239
237
|
this.storesOverlay.setMap(null);
|
|
240
238
|
}
|
|
241
239
|
|