I think there was a hidden bug in that sample, we should use clone deep when using the interactionArguments.CurrentExtent.
Try following code: protected override InteractiveResult MouseClickCore(InteractionArguments interactionArguments) { InteractiveResult interactiveResult = new InteractiveResult();
//Calculates the offset in X and Y to center the map. PointShape centerPointShape = interactionArguments.CurrentExtent.GetCenterPoint(); PointShape newPointShape = new PointShape(interactionArguments.WorldX, interactionArguments.WorldY); double XOffset = newPointShape.X - centerPointShape.X; double YOffset = newPointShape.Y - centerPointShape.Y; RectangleShape newExtent = (RectangleShape)interactionArguments.CurrentExtent.CloneDeep(); newExtent.TranslateByOffset(XOffset, YOffset);
//Scales down the offset rectangle to have it set as the new extent of the map for zooming in. RectangleShape scaledDownRectangleShape = RectangleShape.ScaleDown(newExtent, 85).GetBoundingBox();