You can set a particular spot on the map to zoom into. In this example, the center or focus of zooming is set to wherever you click with the mouse. It is helpful to have a graphic representation of where the focus is. To that end we add a hairline glyph.
Try clicking and zooming on the map below.
The source reveals small changes to our previous program. We add a VisibleRange named zoomPoint. We create a Shadow on our map and add our zoomPoint as a listener. Next we adjust the zoomPoint from a mouse listener when we get mouse clicks. The zoomPoint then turns around and notifies its listeners. One of them is the shadow glyph which gets repositioned. The other is an internal class that sets our map's zoom behavior.