MapGenie - Smaller Icon Size

Makes the icons smaller on the map, so you can see more of the map at once.

Skapare
Alistair1231
Dagliga installationer
0
Totala installationer
83
Betyg
1 0 0
Version
0.3.3
Skapad
2023-04-20
Uppdaterad
2023-06-04
Licens
MIT
Gäller för

Only applies on zoom change, so after page load, zoom in/out to apply script.

If the symbols are too big/small for you, change this line (if you are confused what the numbers mean, do some trial and error. You won't break anything.)

var logarithmicScale = Math.max(0, Math.log(iconSizeAtMaxZoom / iconSizeAtMinZoom) / Math.log(maxZoom / minZoom) * Math.log(zoom / minZoom)) * 2.3;
Before After