Zooming in and out to where the pointer is by double clicking the map

Left double clicks are zooming in, right double clicks are zooming out.

The map zooms in and out to where the pointer is, although the example doesn't use an annoying mousemove listener.

Back