Problem Here is the part of working code: function SelectPoints(lat,lon){ var dist = document.getElementById(“miles”).value; xy = [lat,lon]; //center point of […]