Spot the web RSS 2.0
# Tuesday, March 18, 2008

Google updated their charts API, which they first released back in December 2007. First of all, the old limit of 50,000 queries per user per day has been removed (though Google asks you email them if you receive more than 250,000 queries a day so they can better scale this).

Also, there are several extended or new features. Among them are radar charts, sparklines, and maps. The last one is perhaps the most interesting, as it lets you display and color a map. While you can already use the Google Maps API for certain needs, this is a much more minimalist map that might come in handy for illustrations, games, traffic visualization and other things. As usual, generating maps or any other chart type consists of simply formulating a special URL.

Tuesday, March 18, 2008 9:08:39 AM (Jerusalem Standard Time, UTC+02:00)  #    Comments [0] - Trackback
Google | Web 2.0
# Wednesday, January 09, 2008

If you are looking for a ASP.NET Google Map Control, your search is now over.

Jacob Reimers from http://www.reimers.dk/ offers a great asp.net control in 2 flavors.

The free version which lets you easily display a map with markers and/or lines and a licensed version which gives you the full power of Google Maps.

Download the free control, unzip it to your Bin folder in your web app and add a reference to it.

 

This is a sample asp.net page:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="GoogleMap" Namespace="Reimers.Map" TagPrefix="Reimers" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server"> 
    <title>Google Map test</title>
</head>
<body> 
    <form id="form1" runat="server"> 
        <div> 
            <reimers:googlemap id="GMap" runat="server" width="349" height="354" onmarkerclick="GMap_MarkerClick"  /> 
        </div> 
    </form>
  </body>
</html>

and the code behind:

using System;

using System.Web.UI;

using Reimers.Map;

 

public partial class _Default : Page

{

    protected void Page_Load(object sender, EventArgs e)

    {

        GMap.GoogleKey = "Your API Code here";

        GMap.MapType = MapType.Map;

        GMap.TypeControl = MapTypeControl.None;

        GMap.MapControl = ControlType.Small;

 

        GoogleMarker testMarker = new GoogleMarker("newMarker", new GoogleLatLng(43.611611, -88.952931));

        testMarker.MarkerText = "Test Marker";

        GMap.Markers.Add(testMarker);

 

        GMap.Latitude = testMarker.Latitude;

        GMap.Longitude = testMarker.Longitude;

        GMap.Zoom = 10;

    }

 

    protected void GMap_MarkerClick(GoogleMap GMap, GoogleMarker Marker, ref String MapCommand)

    {

        MapCommand = Marker.OpenInfoWindowHTML(GMap, Marker.MarkerText);

    }

}

Wednesday, January 09, 2008 1:23:22 PM (Jerusalem Standard Time, UTC+02:00)  #    Comments [0] - Trackback
.Net | Google | Programming | Visual Studio | Web 2.0
# Monday, December 10, 2007

Today, Google released their Chart API. Basically, the Google Chart API allows you to dynamically generate charts for use in your web applications. All you do is pass your data in the querystring and an image is returned. This isn't really a service to get too excited about, but it is pretty simple to use and it's Free.

Here is a bit about this:

The Google Chart API lets you dynamically generate charts. To see the Chart API in action, open up a browser window and copy the following URL into it:

http://chart.apis.google.com/chart?cht=p3&chd=s:hW&chs=250x100&chl=Hello|World

Press the Enter or Return key and - presto! - you should see the following image:

Yellow line chart

I decided to code up a small ASP.NET Server Control that uses the Google Chart API to put simple line graph charts on a page.

How to use this control:

Put the Chart control on the page:

<GoogleAPI:Chart runat="server" id="Chart1" 
   Width="200" Height="150" LineColor="ff0000"
   BackgroundColor="efefef"
   ToolTip="Hello World">
</GoogleAPI:Chart>

In the page load event define the values to be charted:

Chart1.MaxValue = 60;

Chart1.Values.Clear();

Chart1.Values.Add("Jan", 10);
Chart1.Values.Add("Feb", 20);
Chart1.Values.Add("Mar", 30);
Chart1.Values.Add("Apr", 50);
Chart1.Values.Add("May", 5);
Chart1.YAxisLabels.Add("0 Kb");
Chart1.YAxisLabels.Add("25+ Kb");
Chart1.YAxisLabels.Add("50+ Kb");

And, that's all you have to do to put a Chart on your page using the control.

The result is this:

Download the example / source code here: GoogleChartAPI.rar (3.33 KB)

Monday, December 10, 2007 4:21:29 PM (Jerusalem Standard Time, UTC+02:00)  #    Comments [0] - Trackback
.Net | Google | Programming | Visual Studio
# Thursday, December 06, 2007

There's no Gphone just yet, but Google does want a big piece of your cell phone. In November 2007, the company announced its Android mobile operating system, and 34 companies are on board to develop applications for the cell-phone platform as part of the Open Handset Alliance. The open software platform is hoped to go head-to-head with smartphone software from RIM, Apple, Microsoft, Nokia, and Palm. Will Google be your next mobile OS?

What's that all mean? The big motivation for Google is that it will likely have its applications such as Gmail and Google Docs & Spreadsheets automatically built into a major share of new cell phones in the burgeoning market.

What's interesting and exciting is that the platform--likely based on Linux--will be open to all third-party developers. With any luck, that means that consumers will finally be able to choose exactly which software apps they want to use on their cell phones.

Google CEO Eric Schmidt claims that "as a result of this platform you'll be able to do amazing things with your mobile devices that you've never thought of." We'll get a first peek at the possibilities for programmers with an early look at a software development kit for Google Android next week.

 

Thursday, December 06, 2007 2:16:21 PM (Jerusalem Standard Time, UTC+02:00)  #    Comments [0] - Trackback
Google | Programming

Gmail and Google Talk users can now chat with their AOL Instant Messenger buddies through the Gmail interface, Google announced today. Rolling out to all English-based users by the end of the day, the new feature will let you seamlessly jump from chatting with a Google contact to an AIM buddy without having to use two separate chat clients.

The AIM integration feels native to Gmail. The AIM log-in panel is behind the "Set status here" upside-down triangle under the Contacts list. Click there, and if the feature rollout has hit your account, you'll see a "Sign into AIM" option on the drop-down menu with AIM's yellow running man icon next to it.

A new window opens when you choose to sign in, so be sure that you don't have a pop-up blocker enabled for Gmail.com. Enter in your AIM username and password, or hit the link at the bottom of the window to create a new AOL account, and you're good to go. AOL buddies will appear in the Contacts list, mixed in with Google Chat contacts. The running man icon for AIM contacts appears on the right side of the chat list.

Click on the "Set status here" triangle again, and you'll notice the AIM login option has changed to a logout. Once you've logged out, your AIM contacts disappear, although the next time you log in you won't need to re-enter your password. To use a different AIM account, you need to go to the Chat tab under Settings.

Gmail's label colors make them easier to read.

(Credit: CNET Networks, Inc.)

This integration comes right on the heels of Google Chat rolling out group chats and more developed smileys last week. Individual chat and the ever-important smileys are there, but any other ancillary AIM features you might be interested in require the full AIM client.

Google was cagey about whether Gmail will feature other chat protocols such as ICQ in the future. Jason Freidenfelds, a spokesman for Google, said only that he couldn't comment on whether they were looking at including other chat programs.

Another new feature that Google added last night was colored tabs for labels. This feature, previously only available through plug-ins like Better Gmail, lets users assign colors to labels to make it easier to keep track of them. From the Labels panel, click on the square next to the label and a drop-down menu of colors will appear. Select a color and your e-mail list will refresh, with the label name on e-mails now in vibrant life-affirming hues.

The new colors are easily accessible from the Labels menu.

(Credit: CNET Networks, Inc.)

Besides making it easier to see labeled e-mails, when you click on an e-mail that's been labeled you can now search for all e-mails with that label or remove the label from the e-mail directly from buttons next to the e-mail's subject line.

While colored labels aren't a killer feature, they're small touches that make the interface that much easier to use. Combined with the AIM integration and other recent changes, it's hard to understate the usefulness to users of the recently rewritten Gmail source code.

Thursday, December 06, 2007 2:05:56 PM (Jerusalem Standard Time, UTC+02:00)  #    Comments [0] - Trackback
Site Reviews | Google
Navigation
Archive
<July 2010>
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
Guy Levin
Sign In
Statistics
Total Posts: 63
This Year: 0
This Month: 0
This Week: 0
Comments: 14
Themes
All Content © 2010, Guy Levin