Gustavo Luigi 2023-06-06 08:43:57 -03:00
parent 964f15e97f
commit 083bea8a84
1 changed files with 0 additions and 5 deletions

View File

@ -146,11 +146,6 @@
if (currentItems.length > 0) { if (currentItems.length > 0) {
let openInfoWindow = null; let openInfoWindow = null;


/* currentItems = currentItems.filter(function(item){
console.log(item.location, item[locationField] != undefined);
return item[locationField] != undefined;
}); */

currentItems = currentItems.map(function (item) { currentItems = currentItems.map(function (item) {
item.location = {}; item.location = {};
item.location.lat = parseFloat(item[locationField].lat); item.location.lat = parseFloat(item[locationField].lat);