-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGoogleMapMarkup.html
More file actions
41 lines (39 loc) · 1.78 KB
/
GoogleMapMarkup.html
File metadata and controls
41 lines (39 loc) · 1.78 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<%@ Page Title="" Language="C#" MasterPageFile="Directions.master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="GoogleMaps.Samples.Directions.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<div class="jumbotron">
<h2>Directions Sample</h2>
<p>
A sample about ASP.NET Google Map Control directions usage.
</p>
</div>
<p>
Enter the desired origin and destination of directions to show and click the 'Show' button.
</p>
<fieldset>
<legend>Directions</legend>
<p>
<asp:Label runat="server" Text="Origin" AssociatedControlID="txtOrigin" />
<asp:TextBox ID="txtOrigin" runat="server" Width="400px"></asp:TextBox>
</p>
<p>
<asp:Label runat="server" Text="Destination" AssociatedControlID="txtDestination" />
<asp:TextBox ID="txtDestination" runat="server" Width="400px"></asp:TextBox>
</p>
<p style="margin-bottom: 0;">
<label>
</label>
<asp:Button runat="server" Text="Show" OnClick="HandleShowClick" />
</p>
</fieldset>
<div class="map-wrap">
<map:GoogleMap ID="GoogleMap1" runat="server" Latitude="42.1229" Longitude="24.7879"
Zoom="4" CssClass="map" Width="100%" Height="600px" FullscreenControl="true">
</map:GoogleMap>
<map:GoogleDirections ID="GoogleDirections1" TargetControlID="GoogleMap1" runat="server"
Origin="plovdiv" Destination="sofia" Draggable="true" PanelID="route" OnChanged="HandleDirectionsChanged">
</map:GoogleDirections>
</div>
<div id="route">
</div>
</asp:Content>