forked from SharpMap/SharpMap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWmsClient.aspx
More file actions
24 lines (24 loc) · 1.15 KB
/
WmsClient.aspx
File metadata and controls
24 lines (24 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="WmsClient.aspx.cs" Inherits="WmsClient" Title="WmsClient demo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
<table >
<tr>
<td valign="top">
<asp:RadioButtonList ID="rblMapTools" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="0">Zoom in</asp:ListItem>
<asp:ListItem Value="1">Zoom out</asp:ListItem>
<asp:ListItem Value="2" Selected="True">Pan</asp:ListItem>
</asp:RadioButtonList>
<asp:ImageButton Width="600px" Height="300px" ID="imgMap"
runat="server" OnClick="imgMap_Click"
style="border: 1px solid #000;" /><br />
<asp:HyperLink ID="hlCurrentImage" runat="server" Target="_blank">Link to current map</asp:HyperLink><br />
<asp:HyperLink ID="hlWmsImage" runat="server" Target="_blank">Link to active WMS map</asp:HyperLink><br />
</td>
<td style="width: 300px">
<asp:Literal ID="litLayers" runat="server" />
</td>
</tr>
</table>
- Countries and labels are local datasource<br/>
- Water bodies are from the Demis WMS Server
</asp:Content>