TrackMe Embeddable
If you have your own website, and want to let the world TrackMe with you, then we have the snippet of code for you, with no need to worry about
learning one of the mapping apis.
There are two options:
- Share your view
- Share your current location
For information on the querystring parameters for embedding TrackMe, see the Reference table.
This can be generated by signing into TrackMe, then clicking on the 'Share' link in the View panels submenu.
Coming soon...sharing your last known public location.
The table below contains the querystring parameters for setting the map state.
| Key |
Description |
Default |
| mp |
The MapProvider option determines whether Microsoft Virtual Earth or
Google Maps is used. The possible options are
- Live
- Google (currently not fully supported)
|
Live |
| zm |
The zoom to use when the map first loads.
- 1-13 (1 being zoomed out the most)
- -1 will auto focus the view to fit all layers on the map.
|
5 |
| mt |
The type of the map to use.
- Normal
- Satellite
- Hybrid
- Shaded - only available using a map provider (mp) of Live
|
Hybrid |
| mm |
The mode of the map. Google only supports 2D while Virtual Earth supports both 2D and 3D.
- 2D
- 3D (only available when map provider of Live)
|
2D |
| mc |
Where the viewpoint of the map should be centered. This is a comma separated string of the format latitude,longitude.
|
0,0 |
| mw |
The width of the map. Set this to the width of the iframe containing the embeddable map.
|
300 |
| mh |
The height of the map. Set this to the height of the iframe containing the embeddable map.
|
300 |