MSG Map Widget

Spent couple of hours putting together a little MSG map “widget” – so you can embed a Google map with markers for where users are online on your own webpage as the examples below show….

For the msg.open.ac.uk server

For the msg-openlearn.open.ac.uk server

This is the code that you need to use to embed this on your own page:

<script src="http://msg.open.ac.uk/msg/widget/msgmapwidget.jsp?host=msg.open.ac.uk
&height=300&width=450&zoom=2&lat=50&lng=0"></script>

Just change the parameters for fit what you’d like to show and how:
host: the MSG server to get the info from – valid entries currently are: msg.open.ac.uk or msg-openlearn.open.ac.uk
height: height of the map to display
width: width of the map to display
zoom: starting zoom level of the map
lat: starting latitude coordinate for map centre
lng: starting longitude coordinate for map centre

At the moment it’s just something I’ve been playing with, but would be good to be able to extend so that it can show the presences of your own contacts and give live presence info and provide the click to chat links etc.

One Comment

  1. EisenBlog says:

    Widgetization of OpenLearn Rolls On…

    Three nice convergences underway… and a new map widget in my blog gutter as a result:
    1. Tony Hirst’s increasing deployment of scrapers, aggregators, pipes, and other tools to make OpenLearn content more suitable for Personal Learning Envi…

Leave a Reply

*