Hallo Leute,
ich hätte wohl direkt auf Deutsch schreiben sollen... Entschuldigung!
Jetzt kommt also die Übersetzung
Ich versuche, das Google Maps Plugin zu benutzen, kriege es aber nicht ans Laufen. Ich habe den Code aus dem krpano-Beispiel in meine XML reinkopiert, aber das klappt auch nicht.
krpano 1.19-pr16 und googlemaps.js aktuellste Version, beide lizensiert.
Mir ist übrigens mittlerweile aufgefallen, dass ich das Plugin sehe, wenn ich keine Szenen in der tour.xml habe - das ist aber nicht nur bei mir so, sondern auch, wenn ich das in die Demotour aus den Beispielen einbaue ("Combobox"), es liegt also zumindest nicht nur an mir.
Wenn irgendjemand eine Idee hat, die mir helfen könnte, würde ich mich sehr freuen.
Mein Code (die wichtigen Stellen):
|
Quellcode
|
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
<skin_settings
maps="true"
maps_type="google"
maps_google_api_key="... Google API key ..."
maps_zoombuttons="true"
.....
/>
.........
<layer
name="mapcontainer"
type="container"
bgcolor="0xFFFFFF"
bgalpha="0.5"
align="leftbottom" x="5" y="5"
width="270"
height="370"
visible="true"
>
<plugin
name="map"
devices="html5"
url="plugins/googlemaps.js"
align="leftbottom" width="400" height="300" x="0" y="0"
keep="true"
key="AIzaSyC2ZgG-HKMra3JvjNUDFRXwqv4Evb0plN8"
maptype="satellite"
lat="50.944406"
lng="6.957865"
zoom="18"
tilt="0"
heading="0"
controls="zoom|maptype"
poi="true"
>
<radar
visible="true"
size="300"
alpha="0.5"
fillcolor="0xFFFFFF"
fillalpha="0.5"
linecolor="0x00FF00"
linealpha="0.5"
linewidth="0.5"
dragable="true"
headingoffset="0"
/>
<spot
name="spot1"
lat="50.944406"
lng="6.957865"
heading="0"
active="true"
/>
</plugin>
</layer>
..................
<scene name=........
|