Sie sind nicht angemeldet.

Mael B.

Schüler

  • »Mael B.« ist der Autor dieses Themas

Beiträge: 157

Wohnort: France, Montpellier

  • Nachricht senden

1

Samstag, 5. Oktober 2019, 19:46

Missing 'scale' in addspotstyle plugin action ?

hi,

we can choose a scale value when defining a spotstyle statically:

Quellcode

1
2
3
4
5
6
7
8
9
<spotstyle name="MYSTYLE"
           url=""
           overurl=""
           activeurl=""
           edge="center"
           x="0"
           y="0"
           scale="0.8"
           />


But apparently, we cannot do the same when defining a spotstyle dynamically with a addspotstyle action:
https://krpano.com/plugins/googlemaps/#addspotstyle

is it normal such a limitation ? *confused*

Mael B.

Schüler

  • »Mael B.« ist der Autor dieses Themas

Beiträge: 157

Wohnort: France, Montpellier

  • Nachricht senden

2

Montag, 7. Oktober 2019, 14:56

I finally thought that i can define the scale value after creation of the new spotstyle !! *g*

Quellcode

1
  set(layer[skin_map].spotstyle[MY_NEW_STYLE].scale,0.5);