From 9852be82d711dae9f8560699bbe5b8c581b3d98a Mon Sep 17 00:00:00 2001
From: Daaris Ameen <64462855+daarisameen@users.noreply.github.com>
Date: Mon, 23 Jan 2023 12:39:32 +0530
Subject: [PATCH] update leaflet with good radius
---
js/index.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/js/index.js b/js/index.js
index e1b1d7f..cdb8752 100644
--- a/js/index.js
+++ b/js/index.js
@@ -93,12 +93,12 @@ function showPosition(position) {
var circle = L.circle([x1, y1], {
color: 'red',
fillColor: '#f03',
- fillOpacity: 0.5,
- radius: 1000
+ fillOpacity: 0.1,
+ radius: 1400
}).addTo(map);
- marker.bindPopup("You are here").openPopup();
- circle.bindPopup("approximate location");
+ marker.bindPopup("Approx location").openPopup();
+ circle.bindPopup("You are within this radius");
var popup = L.popup();
function onMapClick(e) {