From 4d10dc5fc8e64b155427025be0eea017ce1d8297 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Sat, 16 Mar 2024 18:02:48 +1300 Subject: [PATCH] increase size of marker icon --- src/public/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/public/index.html b/src/public/index.html index 3920521..f8cd8c7 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -891,7 +891,10 @@ }); // create icons - var iconOnline = L.divIcon({ className: 'icon-online'}); + var iconOnline = L.divIcon({ + className: 'icon-online', + iconSize: [16, 16], // increase from 12px to 16px to make hover easier + }); // create legend var legend = L.control({position: 'bottomleft'});