• Hi, anyone has an example of ipad complaint radar with radar.js!?
    :-P
    Or better a good map working ewith ipad?
    Is the father-children bug resolved!?
    Thanx to all.

    this resolves in loading plugin radar.js error

  • I kind of resolved...
    A bit tricky and not doing what I wanted... I am compelled to a not transparent map!
    The map is a background, plain, alpha="1" and color the one you want as active room background.
    No mask parameter in radar plugin.


    A plugin called i-mapmask, child of map and with no url...

    .
    A collection of masks PNG with the map and "holes" in the right areas, room backgrounds. Alpha=1 and zorder> than radar <than mappoints, habdcursor false.

    On every scene I put the code to update the image that masks the javascript radar.

    Code
    <plugin name="imapmask" 
            url="nav/r1c-imask.png" 
            parent="map" 
            enabled="false"
            devices="ipad" 
            onloaded="updateimask();" />
    Code
    <action name="updateimask">	
    		set(plugin[i-mapmask].url, get(plugin[imapmask].url));
    	</action>

    Radar cone must be scaled accordingly with the map and mapmasks images, or you will see it out of bounduaries given by the sandwich of layers you put it in.

    As you can see from the roughness of what i have done, I will never be a good coder. yet it works.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!