Web Control which provides pan and zoom control for a map
Namespace:
EGIS.Web.ControlsAssembly: EGIS.Web.Controls (in EGIS.Web.Controls.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Class MapPanControl _ Inherits CompositeControl |
| C# |
|---|
public class MapPanControl : CompositeControl |
| Visual C++ |
|---|
public ref class MapPanControl : public 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
<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
System.Web.UI..::.Control
System.Web.UI.WebControls..::.WebControl
System.Web.UI.WebControls..::.CompositeControl
EGIS.Web.Controls..::.MapPanControl