master
parent
083bea8a84
commit
c1dbdfc7f3
|
@ -147,7 +147,7 @@
|
|||
let openInfoWindow = null;
|
||||
|
||||
currentItems = currentItems.map(function (item) {
|
||||
item.location = {};
|
||||
if(item.location == undefined) item.location = {};
|
||||
item.location.lat = parseFloat(item[locationField].lat);
|
||||
item.location.lng = parseFloat(item[locationField].lng);
|
||||
let marker = new google.maps.Marker({
|
||||
|
|
Loading…
Reference in New Issue