Web Control which provides pan and zoom control for a map

Namespace:  EGIS.Web.Controls
Assembly:  EGIS.Web.Controls (in EGIS.Web.Controls.dll)

Syntax

Visual Basic
Public Class MapPanControl _
	Inherits CompositeControl
C#
public class MapPanControl : CompositeControl
Visual C++
public ref class MapPanControl : public CompositeControl
JavaScript
EGIS.Web.Controls.MapPanControl = function();

Type.createClass(
	'EGIS.Web.Controls.MapPanControl',
	CompositeControl);

Remarks

The MapPanControl control is a composite control that provides 4 pan buttons (left, right, up, down), a zoom-in and a zoom-out button.

The control can be customized by specifying a new Image Url for each of the pan or zoom buttons.

Each button is rendered as an "input" HTML element. To specify the CSS style of the buttons specify a class for the control and supply a style for the .class input, as shown below

 Copy imageCopy Code
            <style type="text/css"> .mpc input {padding:2px;} </style>
            ..
            <cc1:MapPanControl class="mpc" ID="MapPanControl1" runat="server" /> 

Inheritance Hierarchy

System..::..Object
  System.Web.UI..::..Control
    System.Web.UI.WebControls..::..WebControl
      System.Web.UI.WebControls..::..CompositeControl
        EGIS.Web.Controls..::..MapPanControl

See Also