Hi,
ithink i would like an extra attribute to the compass plugin: enabled (true-false)
so you can enable/disable the compass plugin.
or is that allready possibl?
EDIT:
answere is:
Code
<plugin name="compass" devices="html5"
url="../../skin/plugins/compass.js"
keep="true"
compassenabled="false"
onchange="if(compassenabled, copy(view.hlookat, heading););"
/>
and for example:
Code
...
ondown="
if(plugin[compass].compassenabled == true, set(plugin[compass].compassenabled,false);, set(plugin[compass].compassenabled,true);set(plugin[skin_gyro].enabled,false); );"
...
Tuur