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.

1

Mittwoch, 17. Mai 2023, 23:22

examples\maps with radar ?

Hi, I have been able to add the map to my tour by looking at the examples\maps\maps.xml file. But I want to add a radar to that map. Could anyone please help me understand where codes for the radar would be added ? It's very confusing to get going hehe.

Thanks =)

EDIT:

I was able to add the radar by adding this <layer>


Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<layer name="radar" keep="true" 
    	url.flash="%VIEWER%/plugins/radar.swf" url.html5="%VIEWER%/plugins/radar.js"
    	align="center"
    	edge="center"
    	zorder="1"
    	parent="map"
    	scale="1"
    	scale.mobile="1.5"
    	fillalpha="0.5"
    	fillcolor="0xB2AB83"
    	linewidth="1.0"
    	linecolor="0xE0E0A0"
    	linealpha="0.5"
    	heading="0"
    	editmode="false"
    	/>

But when I drag the map, the radar layer stay behind and don't move with the spot icon.


I can see that the spot icon is created inside the

Quellcode

1
<action name="load_map_viewer"...


But then how can I lock the radar layer to the icon spot and not the map layer ?
--
Børge

Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »baaphoto« (18. Mai 2023, 00:36) aus folgendem Grund: More info and partial solved