sr-npm 1.7.215 → 1.7.216

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.215",
3
+ "version": "1.7.216",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -354,11 +354,20 @@ async function updateMapMarkers(_$w){
354
354
  title: item.title,
355
355
  };
356
356
  });
357
+ console.log("markers: ", markers);
358
+ console.log("type of markers: ", typeof markers);
357
359
  //@ts-ignore
358
360
  _$w('#googleMaps').setMarkers(markers);
359
361
  }
360
362
  else{
361
- _$w('#googleMaps').setMarkers([]);
363
+ console.log("no positions found");
364
+ _$w('#googleMaps').setMarkers([{
365
+ location: {
366
+ latitude: 0,
367
+ longitude: 0
368
+ },
369
+ address: "No positions found",
370
+ }]);
362
371
  }
363
372
  }
364
373