Sie sind nicht angemeldet.

Douglas Rhiner

Fortgeschrittener

  • »Douglas Rhiner« ist der Autor dieses Themas

Beiträge: 141

Wohnort: San Anselmo, CA

Beruf: Code-Slave

  • Nachricht senden

1

Mittwoch, 20. April 2011, 05:53

Get hotspot ath/atv from Editor plugin

Is there a way to "Get" the horizontal and vertical coordinates of a hotspot that has been draged or is being dragged in the editor via scripting?

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

2

Mittwoch, 20. April 2011, 09:38

yes,

-put your hotspot
- go one step back in the editor
- clcik on xml
- scroll down
- the last hotspot wil be the one

you can also use the mouse coordinates plugin for that


i think it's cursor position plugin..

http://www.krpano.com/forum/wbb/index.ph…23640#post23640

cheers

Tuur *thumbsup*

3

Mittwoch, 20. April 2011, 14:39

Hi,

if you are just looking for dragging and dynamically getting the new coodinates then have also a look here:
Dragable plugins/hotspots

best regards,
Klaus

Douglas Rhiner

Fortgeschrittener

  • »Douglas Rhiner« ist der Autor dieses Themas

Beiträge: 141

Wohnort: San Anselmo, CA

Beruf: Code-Slave

  • Nachricht senden

4

Mittwoch, 20. April 2011, 18:54

Turr and Klaus,

Thanks for the replies, very much appreciated.

I think Klaus' solution is the one I'm after.

After trying to simplify/clarify my question - I want to get the coordinates of the hotspot on-the-fly or scriptically( is that a word? ) so not copy and paste would be required.
With the v and h coordinates being populated in text fields, which then can be read and populated into a database.

Ähnliche Themen