sr-npm 1.7.217 → 1.7.219

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.217",
3
+ "version": "1.7.219",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -357,18 +357,17 @@ async function updateMapMarkers(_$w){
357
357
  console.log("markers: ", markers);
358
358
  console.log("type of markers: ", typeof markers);
359
359
  //@ts-ignore
360
- _$w('#googleMaps').setMarkers(markers);
360
+ await _$w('#googleMaps').setMarkers(markers);
361
361
  }
362
362
  else{
363
363
  console.log("no positions found");
364
-
365
- _$w('#googleMaps').setMarkers([{
364
+ await _$w('#googleMaps').setMarkers({
366
365
  location: {
367
366
  latitude: 0,
368
367
  longitude: 0
369
368
  },
370
369
  address: "No positions found",
371
- }]);
370
+ });
372
371
  }
373
372
  }
374
373