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

Thursday, October 6th 2011, 7:53pm

Radar & Google map plugin problem

Dear Klaus, im writing You for the first time, i have 2 problems, im trying to develop interface that can enable heading change with the radar plugin.

1. My radar cone is visible beyond borders of google map.
2. Im trying to lock my radar cone to panorama spot inside map (when i move map or go into fullscreen, my map moves, but radar stays in the same place.)

Here is my code, could you please look at it

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<radar visible="true"   	dragable="true"
   	keep="true"
   	size="80"
   	heading="0"
   	zoomwithmap="true"
   	alpha="0.75"
   	fillcolor="0xFFFFFF"
   	fillalpha="0.75"
   	linewidth="1"
   	linecolor="0xEB2323"
   	linealpha="0.75"
   	glow="false"
   	glowcolor="0xFFFFFF"
   	glowwidth="4"
   	glowstrength="4"
   	x="0" y="0"
   	editmode="true"
   	/>
<spot name="radar"
    	heading="0"
    	lat="45.6778" lng="19.0313"
    	active="true"
    	onhover="showtext('Banja Junaković Apatin')"
    	x="0" y="0"
        />


THIS IS RADAR CODE

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<plugin name="radar"    	keep="false"
    	url="xmltour/radar.swf"
    	parent="map"
    	scale="1.0"
    	size="80"
    	behindspots="true"
    	heading="0"
    	linecolor="0xEB2323"
    	fillcolor="0xFFFFFF"
    	fillalpha="0.75"
    	blendmode="layer"
    	visible="false"
    	invert="false"
    	zorder="3"
    	dragging="true"
    	x="0" y="0"
    	dragable="true"
    	editmode="true"
    	>
</plugin> 

VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

2

Friday, October 7th 2011, 4:29pm

that is not enough code to tell what is happening, your best bet is to upload an example and post a link to that.

3

Friday, October 7th 2011, 10:45pm

Here is example:
http://dev6.apaone.com/primer/


And here is xml...

http://dev6.apaone.com/primer/scena.xml


Please, Help

This post has been edited 2 times, last edit by "Zverddej" (Oct 10th 2011, 2:23pm)


4

Monday, October 10th 2011, 5:24pm

Klaus, help

Please Klaus, help

5

Wednesday, October 12th 2011, 7:45pm

Hi,

the googlemaps plugin has it's own radar - you don't need to include the radar plugin additionally,

the heading of the googlemaps radar is defined by the "heading" attribute of the particular map spot:
http://krpano.com/plugins/googlemaps/#spot.heading

best regards,
Klaus

6

Wednesday, October 12th 2011, 11:19pm

How can i turn on heading edit mode in google maps plugin's radar

please look at my example

http://dev6.apaone.com/primer/

One more thing, is it possible to lock radar plugin (not the subnode from google map plugin) for spot on google map so it can move with map?

This post has been edited 1 times, last edit by "Zverddej" (Oct 13th 2011, 10:14am)