Click here to Skip to main content
15,886,110 members
Articles / Web Development / XHTML

A C# Wrapper for Google's Static Map API

Rate me:
Please Sign up or sign in to vote.
4.56/5 (27 votes)
16 Aug 2008CPOL4 min read 125.1K   5.9K   126  
How to use the Google Static Maps API within .NET.
<%@ Page Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true" CodeFile="example2.aspx.cs" Inherits="example2" %>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentMain" Runat="Server">

<h1>Static Map with markers</h1>

<p><asp:Image ID="imgMap" EnableViewState="false" runat="server"/></p>

<p>Map with two markers of different sizes added, with a centre point and size specified at 250px square</p>

</asp:Content>

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)


Written By
Other Frame Digital
United Kingdom United Kingdom

Darren James is technical director at Frame Digital, the online arm of scottish advertising agency Frame.

He spends his working day developing content managed solutions for a wide range of clients, and trying to make it look easy. (It doesn't always work)

When not immersed in code, he has an unhealthly obsession with online games, and tries to travel as much as possible.

His current ambition is to find some time to update his company website, in the meantime, you can find more articles on his blog.

Comments and Discussions