From caf38a8d37ad16e90d568872b10242d19548fd84 Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Wed, 9 Mar 2022 19:01:04 +0100 Subject: [PATCH] [Custom map] Responsive map --- application/views/interface_assets/footer.php | 4 ++-- application/views/map/custom_date.php | 2 +- assets/js/leaflet/leafembed.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index 7978ec74..b8e272e4 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -645,7 +645,7 @@ function getLookupResult() { var qso_loc = '//input->post('band')); ?>'; - var q_zoom = 2; + var q_zoom = 3; $(document).ready(function(){ config->item('map_gridsquares') != FALSE) { ?> @@ -653,7 +653,7 @@ function getLookupResult() { var grid = "No"; - initmap(grid); + initmap(grid, 'custommap'); }); diff --git a/application/views/map/custom_date.php b/application/views/map/custom_date.php index de416283..830adb58 100644 --- a/application/views/map/custom_date.php +++ b/application/views/map/custom_date.php @@ -53,6 +53,6 @@ -
+