addHalo(newNoteMarker.getLatLng());
newNoteMarker.on("dragend", function () {
addHalo(newNoteMarker.getLatLng());
newNoteMarker.on("dragend", function () {
function moveNewNoteMarkerToClick(e) {
if (newNoteMarker) newNoteMarker.setLatLng(e.latlng);
if (halo) halo.setLatLng(e.latlng);
function moveNewNoteMarkerToClick(e) {
if (newNoteMarker) newNoteMarker.setLatLng(e.latlng);
if (halo) halo.setLatLng(e.latlng);
content.find("input[type=submit]").on("click", function (e) {
const location = newNoteMarker.getLatLng().wrap();
content.find("input[type=submit]").on("click", function (e) {
const location = newNoteMarker.getLatLng().wrap();