Page 1 of 1

Widget location chooser custom units

Posted: Sat Nov 16, 2013 1:08 am
by edgar57
Hi !

Please help!

How to change custom units code in location chooser html code?
I have put some examples in the code, uncomment to see them in effect
*/
var flashvars = {
location_id: "auto"
// landscape: "seaside",
// background: "#FFFFFF",
// lang: "de",
unit_system: "custom",
u_temperature=c,
u_wind_speed=mps, //and so on. IS IT RIGHT? But if i oncomment any line here - widget does not show up anymore!!
// time_format: "24"
};

/**
If I uncomment some of them - widget does not show up!
Here in Estonia we have metric system but wind speed in meter per second!!!

BRGDS
Edgar

Re: Widget location chooser custom units

Posted: Sat Nov 16, 2013 2:20 am
by countryroads
Hi Edgar,

Welcome to YoWindow.

Instead of the following
unit_system: "custom",
u_temperature=c,
u_wind_speed=mps, //and so on. IS IT RIGHT? But if i oncomment any line here - widget does not show up anymore!!

change to this
unit_system: "finland",

"finland" is already what you want.
It is metric system but wind speed in meter per second.

Let us know how this works for you.

Marty

Re: Widget location chooser custom units

Posted: Sat Nov 16, 2013 2:54 am
by edgar57
Yes! finland working!
Many thanks!
countryroads wrote:Hi Edgar,

Welcome to YoWindow.

Instead of the following
unit_system: "custom",
u_temperature=c,
u_wind_speed=mps, //and so on. IS IT RIGHT? But if i oncomment any line here - widget does not show up anymore!!

change to this
unit_system: "finland",

"finland" is already what you want.
It is metric system but wind speed in meter per second.

Let us know how this works for you.

Marty