References

⇠ Go Back

minifyMarkerIcons

minifyMarkerIcons(zoom, breakZoom = 8, minifier = 0.8)

Reduce the size of marker icons on the break zoom defined.

Parameters

zoom - Number

The map zoom.

breakZoom - Number

The zoom at which the size of the markers change.

minifier - Number

The coefficient to apply for the size reduction.