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

Dienstag, 13. September 2016, 13:41

Help with radar plugin

Hello, I'm an architect and don't know much about code and programing, but I'm trying to do my best to achieve some basic results with krpano. I already made a couple of tours such as this one http://renders.cat/tour/ and now I would like to include a radar like in this example: http://krpano.com/tours/bkeller/

I copypasted the part of the http://krpano.com/tours/bkeller/bkellertour.xml that I thought was related to the radar plugin but it's not working well. The radar cone apears on the center of the screen and there's also a flying icon on the left top corner that shouldn't be there.

This is my radar testing tour: http://renders.cat/proves/tour.html

What am I doing wrong? Thank you very much in advance.

2

Dienstag, 13. September 2016, 14:13

You are missing update_radar action call where radar active point are parented to appropriate map point. Also heading is set there. Explore example code: Link

3

Dienstag, 13. September 2016, 14:29

Thank you very much!!! It worked! Now I only need to play a little to be able to config my own map.

4

Dienstag, 13. September 2016, 20:02

Hello again,

I've been trying to make my own map and more or less I made it! But there's something I'm still not very happy with. I see the map a little bit small en my desktop but I see it huge on my android phone. Is it possible to change the map size depending on the device I'm using? Or give it a % of the screen? In the radar example http://krpano.com/tours/bkeller/ I see the map in a very good size in both pc and phone.

This is now my test project: http://renders.cat/prova1/

And here the xml: http://renders.cat/prova1/tour.xml

Thanks again!

5

Mittwoch, 14. September 2016, 16:19

Forum is full of examples. Using them you can speed up your learning cureve. Explore it and adapt code on your own.

Here you have alsmost exactly what you are looking for: Link to example
Additionally learn about possible attribute definitions device related. E.g. scale.mobile="0.5" scale.normal="1" -> Link to documentation (see example)

Ähnliche Themen