master
parent
3bff6e2a75
commit
c9c664e4ee
|
@ -146,6 +146,10 @@
|
|||
if (currentItems.length > 0) {
|
||||
let openInfoWindow = null;
|
||||
|
||||
currentItems = currentItems.filter(function(item){
|
||||
return item.location != undefined;
|
||||
});
|
||||
|
||||
currentItems = currentItems.map(function (item) {
|
||||
item.location.lat = parseFloat(item[locationField].lat);
|
||||
item.location.lng = parseFloat(item[locationField].lng);
|
||||
|
|
Loading…
Reference in New Issue