|
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Creating an interactive map in ASP.NET 2.0 using SharpMap</title>
</head>
<body>
<form runat="server">
<div>
<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="400" Height="200" ID="imgMap" runat="server" OnClick="imgMap_Click" style="border: 1px solid #000;" />
</div>
</form>
Powered by ASP.NET 2.0 & <a href="http://sharpmap.iter.dk">SharpMap</a>
</body>
</html>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Morten Nielsen holds a M.Sc. in Engineering and GeoInformatics, and works full time as a .NET software developer in California making the next generation GIS applications. He specializes in mapping, GeoInformatics and image processing, and is the creator of several open source projects such as Proj.NET, SharpGPS and SharpMap.