Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

  • »officinepanottiche« ist der Autor dieses Themas

Beiträge: 130

Wohnort: Venezia

Beruf: interactive pictures

  • Nachricht senden

1

Freitag, 5. August 2011, 13:09

iPad radar

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.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
   <!-- RADAR PLUGIN, set heading with "plugin[radar].heading"  
	      	--> 
	<plugin name="radar"
	    	url="plugins/radar.swf"
	    	alturl="plugins/radar.js" 
        	zorder="1"
	    	keep="true"
	    	heading="0"
	    	parent="map"
	    	mask="mapmask"
	    	align="leftbottom"
	    	edge="center"
	    	x="0" y="0"
	    	linecolor="0"
	    	fillcolor="0xbf0a29"
	    	fillalpha="0.25"
	    	scale="2.5"
	    	visible="false"
	    	/>


this resolves in loading plugin radar.js error

2

Samstag, 6. August 2011, 11:53

Hi,

do you use the 1.0.8.14 viewer?

best regards,
Klaus

  • »officinepanottiche« ist der Autor dieses Themas

Beiträge: 130

Wohnort: Venezia

Beruf: interactive pictures

  • Nachricht senden

3

Montag, 8. August 2011, 11:41

Now I am trying! :-)
http://www.officinepanottiche.com/test/v…tand/itour.html

Map disappeared.
:-(

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »officinepanottiche« (8. August 2011, 12:33)


  • »officinepanottiche« ist der Autor dieses Themas

Beiträge: 130

Wohnort: Venezia

Beruf: interactive pictures

  • Nachricht senden

4

Dienstag, 9. August 2011, 16:50

Here I am again....
now I can make th radar work, but how do I mask it?!
:-P my masks turn out like normal pngs...

  • »officinepanottiche« ist der Autor dieses Themas

Beiträge: 130

Wohnort: Venezia

Beruf: interactive pictures

  • Nachricht senden

5

Donnerstag, 11. August 2011, 13:30

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.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  <plugin name="map" 
      url="nav/map-empty.png" 
      keep="true" 
      enabled="true"  
      visible="true"
   align="rightbottom" x="0"  y="0" 
      alpha="1.0" 
      handcursor="false" 
      children= "true"
   scalechildren="true"
      width="512" 
      height="512"
      zorder="2"
        />
<plugin name="radar"
    url="plugins/radar.swf"
    alturl="plugins/radar.js"
    zorder="1"
    keep="true"
    heading="-90"
    parent="map"
    align="rightbottom"
    edge="center"
    x="0" y="0"
    linecolor="0"
    fillcolor="0xA2978A"
    fillalpha="1.0"
    scale="0.87"
    visible="false"
    />

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

Quellcode

1
2
3
4
5
6
7
8
9
10
11
<plugin name="i-mapmask" 
        	url="" 
        	keep="true" parent="map" enabled="true"
        	edge="rightbottom" 
	      	align="rightbottom" x="0"  y="0" 
        	alpha="1.0" 
        	handcursor="true" 
        	width="512" 
        	height="512"
        	zorder="1"
        	/>	
.
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.

Quellcode

1
2
3
4
5
6
   <plugin name="imapmask" 
        url="nav/r1c-imask.png" 
        parent="map" 
        enabled="false"
        devices="ipad" 
        onloaded="updateimask();" />


Quellcode

1
2
3
  <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.