master
parent
964f15e97f
commit
083bea8a84
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue