Greasy Fork is available in English.

MapGenie - Smaller Icon Size

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

Autor
Alistair1231
Installationen heute
0
Installationen gesamt
83
Bewertungen
1 0 0
Version
0.3.3
Erstellt am
20.04.2023
Letzte Aktualisierung
04.06.2023
Lizenz
MIT
Wird angewandt auf

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