What is iFrame widget?


iFrame widget is to be used for cases when you want to  show the location and past history of your vehicles for your audience very easily, on your own homepage and without any knowledge of programming or maps.

It is most commonly used when the vehicle is a part of a promotional event and you actually want to show off where you exactly are. 

Our most successful uses of this feature have been:

Examples

This window appears when you paste just a single row of HTML code on your website:

<iframe src="http://seeme.eu/embedded?u=demo&w=500&h=300"></iframe>

What can I show?

In addition to simple display of last location, it is possible to load some past tracks of a vehicle. Like this for one day:
<iframe src="http://seeme.eu/embedded?
u=charity&w=500&h=300&date=2011-05-27&id=4981
</iframe>

Or like this, for a certain time period:
<iframe src="http://seeme.eu/embedded
?u=charity&w=500&h=300&maxz=14&from=2011-05-27&to=2011-05-29&id=4981id=412">
</iframe>

The parameters

As you can see, whole content of this iframe is loaded from SeeMe website but there are still some options that you can modify:

For displaying last location:

u - (required) - API username (How do I get one?)
w - (optional) iframe width. When not set, iframe tries to maximize itself to its given space
h - (optional) iframe height. When not set, iframe tries to maximize itself to its given space
maxz - (optional) map maximum zoom. (might be necessary when displaying only one vehicle)

For displaying additional tracks:

date - the single date which track to show.
from - the date since when start showing tracks
to - the date until when to show tracks. Defaults to "today"
id - if connected API user has permission to more than one vehicle, it might become  necessary to include the ID of one certain vehicle. (Where is the vehicle ID?)

Please note that all dates must be in YYYY-MM-DD format.