You are not logged in.

1

Tuesday, January 12th 2010, 2:52pm

How to show/hide radar

I need to show radar on Googlemaps for panoramas outside buildings, and hide radar for panoramas taken inside buildings. How can I make it possible?

2

Tuesday, January 12th 2010, 3:19pm

Hi,

please have a look here for <radar>:
http://krpano.com/plugins/googlemaps/

to change the radar visibility dynamically this can be done
by setting "visible" to "false",

e.g.

Source code

1
set(plugin[map].radar.visible, false);


best regards,
Klaus

3

Tuesday, January 12th 2010, 3:41pm

I've tried this before posting, but radar is still visible :(

XML for panorama:

Source code

1
2
<krpano version="1.0.8" logkey="false" onstart="set(plugin[map].onmapready, action(updatespot,pano_xxx) ); set(plugin[map].radar.visible, false); ">
<include url="map.xml" />



map.xml:

Source code

1
2
3
4
5
6
7
<plugin name="map"    url="../plugins/googlemaps.swf"
        keep="true"        align="leftbottom" x="10" y="-60"        width="180"        height="350"        visible="true"        handcursor="false"
        key="key"
lat="xx"lng="yy"zoom="16"maptype="MAP"
dragging="true"scrollwheel="true"continuouszoom="false"><zoomcontrol visible="true"              anchor="topleft" x="2" y="2"              hasscrolltrack="false"              />
<radar visible="true"size="60"alpha="0.25"fillcolor="0xFFFFFF"fillalpha="1.0"linecolor="0xFFFFFF"linealpha="0.0"linewidth="0.0"glow="true"glowcolor="0"glowwidth="4"glowstrength="3"behindspots="true"dragable="true"/>
</plugin>

4

Wednesday, January 13th 2010, 1:48pm

Hi,

which krpano and goolgemaps version are you using?

best regards,
Klaus

5

Wednesday, January 13th 2010, 7:49pm

krpano version 1.0.8 beta 9 DEV (build 2009-12-16)

google maps - I'm not sure; purchase date 6th September 2009

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

6

Wednesday, January 13th 2010, 7:58pm

Hi Marecki,

To know the version of a plugin, just open it direct on the browser... It will display the version.

SAlut.

7

Wednesday, January 13th 2010, 9:50pm

Thanks :)

GoogleMaps plugin version: krpano 1.0.8 beta 8 build 2009-06-18

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

8

Wednesday, January 13th 2010, 10:06pm

Hi

I think you have to use the one that comes with krpano version 1.0.8 beta 9 DEV....

SAlut.

Similar threads