From 28022bc669ce6cc21fbe7a2371b56c3fc448cfd0 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Tue, 22 Oct 2024 20:28:54 +0200 Subject: [PATCH] =?UTF-8?q?feat(=5FLayout.cshtml):=20LeafletLocationPicker?= =?UTF-8?q?=20in=20Pop-up=20hinzugef=C3=BCgt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EnvelopeGenerator.Web/Views/Home/ShowEnvelope.cshtml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/EnvelopeGenerator.Web/Views/Home/ShowEnvelope.cshtml b/EnvelopeGenerator.Web/Views/Home/ShowEnvelope.cshtml index 208b1373..5914c8ce 100644 --- a/EnvelopeGenerator.Web/Views/Home/ShowEnvelope.cshtml +++ b/EnvelopeGenerator.Web/Views/Home/ShowEnvelope.cshtml @@ -134,6 +134,10 @@ @@ -201,6 +205,11 @@ receiverMail.value = ''; dateValid.valueAsDate = new Date(new Date().setDate(new Date().getDate() + 8)); }); + + $('#geoloc').leafletLocationPicker({ + alwaysOpen: true, + mapContainer: "#fixedMapCont" + }); }