Monthly Archives: April 2008

Website visitors plotted on a Google map

I have created a simple application to plot website visitors on a google map and implemented this at
http://www.songcontestvoting.com/e.

This simple mash-up plots the locations of the last 50 website visitors. It
requires:

1. a script to determine the IP address of the visitor and to geolocate this
IP using a service such as maxmind.com

2. a script or data file in which the latitude, longitude, and country (or
other text) of the last 50 visitors are saved (e.g. figure 2 below) in csv
format.

3. a google mashup like the one given in figure 1.

4. your own google api key.

You can download the sample code from here.