using Core.GIS.SharpMap.UI.Tools; using Core.GIS.SharpMap.UI.Tools.Zooming; using Core.Plugins.SharpMapGis.Gui.Forms; namespace Core.Plugins.SharpMapGis.Gui.Commands { public class MapFixedZoomInCommand : MapViewCommand { public override bool Checked { get { return false; } } public override void Execute(params object[] arguments) { MapView activeView = SharpMapGisGuiPlugin.GetFocusedMapView(); IMapTool tool = activeView.MapControl.GetToolByType(); tool.Execute(); } } }