Remove call to console log (commented really)
if( !data[0] || !data[0].lat || !data[0].lon ) {
alert(addressMapFail);
} else {
- console.log(data[0]);
+ // console.log(data[0]);
assignNewPosition(data);
alert('We were unable to match all of your address data but did find this location.\n\n' + data[0].display_name + '\n\nPlease check that it is correct and adjust as needed by dragging the map pointer.\nYou may also want to check the city selected in the address.');
}
} else {
assignNewPosition(data);
}
-
+
});
});