Everytrail – metric scale, adapted size for embedded data

Evertrail by default uses the english scale (e.g. miles, ft, miles/hour mph). You can change this in your profile for the maps when browsing through evertrail.com. Unfortunatelly, this data is not being used when using embedded maps. But it is possible.

Also, the default dimension is often to small to see the details. It would be nice to adapt the size of the embedded flash element.The example for this posting is one of my maps ( http://www.everytrail.com/view_trip.php?trip_id=166370 ). This is the code as everytrail provides it (2009-04-05):

<h2><a href="http://www.everytrail.com/view_trip.php?trip_id=166370">Climbing Belpberg</a></h2><div style="width:500px;height:420px;border:2px solid #ACD7F5;padding:5px;"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="main" width="100%" height="100%" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="http://www.everytrail.com/main.swf" /><param name="FlashVars" value="tripId=166370&picDim=250&mapType=Hybrid&units=&isWidget=true"><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><param name="allowScriptAccess" value="always" /><embed src="http://www.everytrail.com/main.swf" quality="high" bgcolor="#ffffff" width="100%" height="100%" name="main" align="middle" FlashVars="tripId=166370&picDim=250&includeElevation=&mapType=Hybrid&units=&isWidget=true" play="true" loop="false" quality="high" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object></div>Widget powered by EveryTrail: <a href="http://www.everytrail.com">GPS Geotagging</a>

Lets start with the first point: using metric units (kilometers, km/h, meter m). Search for units=& in your code and add metric, so that it looks like units=metric& . There are two occurencies – you have to change both. That’s all, now you’ll see the stats with metric units.

For the 2nd problem, just adapt “width:500px;height:420px;” to your prefered size. I am using a width of 600 pixel and a height of 480 pixel. So the this would look like “width:600px;height:480px;”.


Posted

in

by

Tags:

Comments

One response to “Everytrail – metric scale, adapted size for embedded data”

  1. Olivier Avatar

    Hi!

    I also noticed that. However, I’m still looking for some way to force the map type as well (photos / stats / full).

    If you find the trick, please mail me!

    Thanks!