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:
This window appears when you paste just a single row of HTML code on your website:
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:
Or like this, for a certain time period:
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.