sr-npm 1.7.215 → 1.7.217
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 +1 -1
- package/pages/careersPage.js +11 -1
package/package.json
CHANGED
package/pages/careersPage.js
CHANGED
|
@@ -354,11 +354,21 @@ 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
|
-
|
|
363
|
+
console.log("no positions found");
|
|
364
|
+
|
|
365
|
+
_$w('#googleMaps').setMarkers([{
|
|
366
|
+
location: {
|
|
367
|
+
latitude: 0,
|
|
368
|
+
longitude: 0
|
|
369
|
+
},
|
|
370
|
+
address: "No positions found",
|
|
371
|
+
}]);
|
|
362
372
|
}
|
|
363
373
|
}
|
|
364
374
|
|