MapGenie - Smaller Icon Size

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

Autor
Alistair1231
Instalări zilnice
0
Total instalări
83
Rating-uri
1 0 0
Versiune
0.3.3
Creat
20-04-2023
Actualizat
04-06-2023
Licență
MIT
Se aplică pe

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