Closed magicbug closed 4 months ago
I Have investigated ,
the first thing is to enable: $config['map_6digit_grids'] = TRUE;
in application/config/cloudlog.php
the second thing is wrong parameters in d3 variable (located in line 37 - assets/js/leaflet/L.MaidenheadColouredGridMap.js)
redraw: function () {
var d3 = new Array(20, 10, 10, 1, 1, 1, 1, 1, 1, 1, 1 / 24, 1 / 24, 1 / 24, 1 / 24, 1 / 24, 1 / 240, 1 / 240, 1 / 240, 1 / 240, 1 / 240 / 24, 1 / 240 / 24);
zomming the map some 6digit square are green and red but in the wrong position. the bounds variable in line 67 contains the corners of confirmed square and the coordinates are wrong.
i hope to help someone to fix the bug!!!
Fixed
Hi Peter, in the new realease there is always the problem in 4 digit gridsqare. I show you some screen in GridSquare Map:
This is the grid of Rome (Italy)
if I zoom in the squares changes
another level of zoom and change again
the only QSO I have in JN61 grid are in
there is somthing wrong in d3 variable (located in line 37 - assets/js/leaflet/L.MaidenheadColouredGridMap.js) read my comment here
Discussed in https://github.com/magicbug/Cloudlog/discussions/3130