mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Draw only needed grids
This commit is contained in:
parent
51707840de
commit
040ac27f3b
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ L.Maidenhead = L.LayerGroup.extend({
|
|||
}
|
||||
}
|
||||
// Added this to print fields and field name, while still showing worked/confirmed gridsquares
|
||||
unit = 1;
|
||||
unit = 10;
|
||||
var left = Math.floor(w / (unit * 2)) * (unit * 2);
|
||||
var right = Math.ceil(e / (unit * 2)) * (unit * 2);
|
||||
var top = Math.ceil(n / unit) * unit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue