Hi
Newbee here, so don't find my questions stupid. There will be probably many good candidates for...
So..I am lerning and stucked trying to make multiple masks for radar plugin.
<plugin name="mapmask" url="map_mask.png" keep="true"
parent="map"
enabled="false"/>
I have map_mask_1.png and map_mask_2.png that should change from Scene1 and Scene2.
Tried example with:
Scene1...
<plugin name="mapmask" url="map_mask_1.png" parent="map" enabled="true" onloaded="updatemask(get(name));" />
..
Scene2...
<plugin name="mapmask" url="map_mask_2.png" parent="map" enabled="true" onloaded="updatemask(get(name));" />
..
<action name="updatemask">
set(plugin[radar].mask, %1);
</action>
but no luck....
Please help or post some xml to learn faster with example of switching masks.
Thanks in advance.
Anton