Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

AJAX Enabled Google Maps ASP.NET Control

, 12 Jul 2010 CPOL
Using the Google Maps API on server side with AJAX support.
GoogleMap.zip
GoogleMapTest
App_Code
vssver2.scc
App_Data
Bin
GoogleMap.dll
vssver2.scc
images
flag1.ico
flag2.ico
marker1.ico
marker2.ico
vssver2.scc
GoogleMap.vssscc
mssccprj.scc
vssver2.scc
GoogleMap
bin
Debug
GoogleMap.dll
GoogleMap.csproj.vspscc
mssccprj.scc
Properties
vssver2.scc
vssver2.scc
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="GoogleMap" Namespace="GoogleMap" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Google Map API Test</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
         <asp:Button ID="btnStart" runat="server" Text="Start" OnClick="btnStart_Click" />
         <asp:Button ID="btnStop" runat="server" Text="Stop" OnClick="btnStop_Click" />
         <br />
        <cc1:GoogleMap ID="GoogleMap1" runat="server">
        </cc1:GoogleMap>
        <br />
        <asp:Label ID="Label1" runat="server" Text="Click on the map to add a new marker.."></asp:Label>
        
    </div>
    </form>
</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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Murat Firat
Software Developer (Senior)
Turkey Turkey
Has BS degree on CS, working as SW engineer at istanbul.

| Advertise | Privacy | Mobile
Web01 | 2.8.141015.1 | Last Updated 12 Jul 2010
Article Copyright 2010 by Murat Firat
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid