Widgets

This page explains how you can create interactive LTSP widgets for your own website. Currently there are several widgets available.

You can include these widgets on your website with the use of an iframe. The widgets adjust itself to fit with the iframe width and height.

Map with LTSP installations in a region
Creates an interactive Google Map for a specified region. You can customize the location, zoom level and size of the map.

Widget URL Parameters Example LTSP widgets require iframes
 * http://www.ltsp.org/stories/widget-map/
 * location - Text specifying center location of the map, such as 'Netherlands' or even a street address. Remember to encode special characters in the URL, as shown in the example below.
 * zoom - Number from 1 to 20 specifying zoom level, where 1 is globe view and 20 street level view. Determined automatically if 'location' parameter is specified.

Usage statistics by country
Creates a piechart of all known LTSP installations grouped by the country they are in.

Widget URL Parameters Example LTSP widgets require iframes
 * http://www.ltsp.org/stories/widget-countrystats/
 * This widget has no parameters

Usage statistics by distribution
Creates a piechart of all known LTSP installations grouped by the Linux distribution they are running.

Widget URL Parameters Example LTSP widgets require iframes
 * http://www.ltsp.org/stories/widget-distrostats/
 * This widget has no parameters