geoLocation = {
const createGeoJSON = () => {
const data = [
{
lat: locationData.getElementById("LATITUDE").value,
lng: locationData.getElementById("LONGITUDE").value
}
];
data[0][locationData.getElementById("propertyname1").value] = document.getElementById("propertyvalue1").value;
data[0][locationData.getElementById("propertyname2").value] = document.getElementById("propertyvalue2").value;
const dataGeoJSON = locationData.parse(data, { Point: ["lat", "lng"] });
locationData.getElementById("output").value = JSON.stringify(dataGeoJSON, null, 4);
}
}