Sie sind nicht angemeldet.

1

Freitag, 29. April 2016, 14:26

hotspot anchoring on image bottom

hi, i 've got a simple hotspot like

Quellcode

1
<hotspot name="hs_01" url="fern.png" ath="-35" atv="20" edge="bottom"/>



an downward pointing arrow, which should alway point to my poi, defined by ath and atv. the tip of the arrow in the png-image is located on the bottom edge. when i'm zooming in the player with this hotspot definition, the arrow is always wandering and not anchored to the ath/atv.

what's wrong with my hotspot?

example in the attached images


thanks,
»mjdevil« hat folgendes Bild angehängt:
  • hotspot_zoom.jpg

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »mjdevil« (30. April 2016, 00:26)


toosten

Fortgeschrittener

Beiträge: 521

Wohnort: Berlin

Beruf: Software-Entwickler bei VR-Easy ( HTML, JS, PHP, krpano, C++, Java )

  • Nachricht senden

2

Freitag, 29. April 2016, 16:34

Die Standardposition eines Hotspotes ist die Mitte der Grafik ( http://krpano.com/docu/xml/#hotspot.edge ), die kann man mit edge oder per http://krpano.com/docu/xml/#hotspot.ox & oy anpassen.

3

Samstag, 30. April 2016, 00:32

Ja ich kenne die Doku. Nur funktioniert mein Beispiel eben trotz edge auf bottom nicht. Habe es ja oben schon gesetzt und trotzdem ankert der Hotspot im Zentrum.

Habe nur ich das Problem?

4

Montag, 2. Mai 2016, 13:05

Hi,

das ist leider in Bug in der aktuellen Version 1.19-pr4 - Hotspots ohne zoom=true oder distorted=true und einer align Einstellung anders als center werden aktuell falsch positioniert.

Als Abhilfe für den Moment wäre es möglich - renderer="css3d" - zu verwenden. In der nächsten Version 1.19-pr5 wird dies behoben sein.

Schöne Grüße,
Klaus

5

Montag, 2. Mai 2016, 13:06

distorted="true"