Sunday, December 5, 2010

Tracking multiple stations in embedded map

A little Sunday morning coding brought the embedded map up to par with the real-time map's callsign search code. Embedded maps allow you to put a real-time aprs.fi map on your own web page.

To track multiple stations, separate them with a comma (','):

he_track = 'CALL1,CALL2';

This now uses the same search routine as the real-time map. If there are tracking targets in different target classes (APRS, AIS, web) having the same name, you might have to add the class prefix:

he_track = 'a/aurora'; // APRS object Aurora, not the AIS ship Aurora

No comments: