You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, January 17th 2010, 11:56pm

north synchronize

1. how to synchronize north on the pano and north on the googlemaps-radar ?
2. how to get this delta back from javascript?
3. how to use this delta in the xml config?
---
have found something, bot not shure.

I understand, that the spot heading is for setting delta between the pano and the map.
but how the CHANGED googlemaps radar "heading" can be readed back?

This post has been edited 1 times, last edit by "Delphir" (Jan 19th 2010, 12:08am)


michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

2

Tuesday, January 19th 2010, 1:02am

Hi Delphir,

If I understand, perhaps you are looking for get(variable); ...
example:

Source code

1
trace(get(plugin[radar].heading););


SAlut.

3

Tuesday, January 19th 2010, 10:20am

yes, but not for the "radar" but for the "googlemaps" plugin. the "plugin[radar].heading" property is not available if using googlemaps plugin. nor [map].headign.. there is only [map].spot[x].heading - but it is constant and not updated while moving radar/pano.

4

Thursday, January 21st 2010, 10:52am

Hi,

right, the heading is always constant...
it will not be changed during viewing...

you can get the current viewing direction via "view.hlookat"

best regards,
Klaus

5

Saturday, January 23rd 2010, 2:49pm

thanks for the answer! I have already done it this way!