References

⇠ Go Back

listenZoomChange

listenZoomChange(callback)

Add a listener on map zoom change and execute the callback function with the map zoom.

Parameters

callback - Function

The function to execute when the map zoom change.