sr-npm 1.7.218 → 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.218",
3
+ "version": "1.7.219",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -357,17 +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
- _$w('#googleMaps').setMarkers([{
364
+ await _$w('#googleMaps').setMarkers({
365
365
  location: {
366
366
  latitude: 0,
367
367
  longitude: 0
368
368
  },
369
369
  address: "No positions found",
370
- }]);
370
+ });
371
371
  }
372
372
  }
373
373