In usability we trust

Archive for the ‘Javascript’ Category

Populating Google Maps with Microformats revisited

November 16th, 2008

A few month ago I posted about a demo where I used content marked up with Microformats to populate a Google map using Javascript. Well, now I’ve improved that demo somewhat.

Read the rest of this post »

Polylines in Google Maps [Part 2]

November 6th, 2008

In part 1 I showed how to use and optimize performance on polylines in Google Maps using Javascript. In this article I will show you how to get even better performance by encoding the polylines on the server.

Read the rest of this post »

Bounding Box in Google Maps

November 2nd, 2008

Normally when you initialize a new Google map you set the coordinates for the center of the map and manually specifies the initial zoom level. Sometimes, however, there’s a need to dynamically calculate the center point and zoom level for certain content to fit into the viewport.

Read the rest of this post »

Polylines in Google Maps [Part 1]

October 28th, 2008

Polylines are used to mark out roads, borders and other things that are made of lines in maps. The Google Maps API offers a class for drawing these lines on a Google Map called GPolyline. In this article I will show you how to use these and how to deal with potential performance issues when [...]

Read the rest of this post »

ASP.NET MVC and JSON

October 22nd, 2008

In the AJAX community, JSON have become the preferred way of sending and receiving data. That’s not surprising since it’s lightweight, fast and easy to understand. Also, since it’s a subset of Javascript, it’s familiar territory for Javascript coders.
In the ASP.NET MVC Framework, passing JSON from the server to the client script is almost too [...]

Read the rest of this post »

Effective Use of Custom Icons in Google Maps

October 15th, 2008

I’m currently developing a web application that uses Google Maps and have lots of markers with custom icons to mark different things on the map. To administer all these different icons is quite a chore and it took me some time to find an effective way of working with them.

Read the rest of this post »

jQuery + ASP.NET = true

October 1st, 2008

jQuery is going to be a part of Visual Studio. This is a great, and I must say, an unexpected development of things.
For me personally, who’s already using jQuery along with ASP.NET, the main difference will be the intellisense annotation support for jQuery. This will be a welcomed enhancement of my development environment. Needless to [...]

Read the rest of this post »

Imagemap rollover

September 1st, 2008

Imagemaps was very popular in the early days of webdesign but seem to have fallen out of grace. Probably due to accessibility problems and the rise of CSS based designs. I think that it still has it’s place when used properly and one being aware of it’s potential accessibility problems.
In a recent project I was [...]

Read the rest of this post »

Looping with jQuery

August 21st, 2008

I’ve started working with the Javascript framework jQuery lately and I must say that I find it very enjoyable! I have previously mostly used Prototype and DOMAssistant, and although they excel in some areas I somehow find jQuery more fun to code with.
Here’s a simple tip on how to loop through elements with jQuery that [...]

Read the rest of this post »

Using microformats to populate Google Map

May 24th, 2008

Inspired by an article I’ve read on 24-ways I’ve built a demo-page for using content marked up with microformats to populate a Google Map.
Unfortunately the demo is in Swedish, but I think those of you who doesn’t speak Swedish can easily understand it anyway.
The main concept is to use a list of folksong festivals in [...]

Read the rest of this post »

About me

My name is Gabriel Svennerberg and I'm an usability oriented web developer living in Sweden.

This is my blog and it's all about web development and usability.

More about me

Blogroll

Copyright © 2007-2008
Gabriel Svennerberg