Sie sind nicht angemeldet.

publicitarios360

Fortgeschrittener

  • »publicitarios360« ist der Autor dieses Themas

Beiträge: 330

Wohnort: Habana, Cuba

Beruf: Architect, Photographer.

  • Nachricht senden

1

Sonntag, 15. Februar 2015, 20:08

tooltip "always visible" in hotspots for Android mobile devices

Hi, I'm working on interactive map for android mobile, and I need that hotspots always show a tooltip. I tried this but it didn't work in android mobile:
<hotspot name="spot1" style="hotspotmapa" ath="0.304" atv="-0.509" linkedscene="scene_capri01ext" onloaded="showtext('Hotel NH Capri';"/>

Then, how do I put an "always visible" text associated to a hotspot?


Thanks in advanced,


Fernando

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Montag, 16. Februar 2015, 06:31

Use the textfield plugin instead, and then it will always be showing.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

publicitarios360

Fortgeschrittener

  • »publicitarios360« ist der Autor dieses Themas

Beiträge: 330

Wohnort: Habana, Cuba

Beruf: Architect, Photographer.

  • Nachricht senden

3

Montag, 16. Februar 2015, 14:49

Use the textfield plugin instead, and then it will always be showing.
Hi, thanks, but the idea is to share the same hotspot code, no put other
layer (with other code plus), I want "a trick", a "false tooltip"
inside the hotspot code, maybe a function that it call the textfield.

I´am
searching a very simple method for put text in android mobile map
because I can´t use the normal tooltip: androide tactil don´t have real
event as "on mouse hover", always is as "on mouse clicK". Then how to
view the title of hotspot in map?

Which is the normal solution
for this case? Is it really necesary to duplicate code for each hotspot
for only put a simple title?

Thanks and greets!

Fernando

4

Montag, 16. Februar 2015, 23:25

I think solution for your problem is not so easy. There are two different solutions for you:

- simple one is that you use ondown event on the hotspot style that will show some text when user press (and hold) hotspot without releasing the touch from the screen.

- more complex solution is for you to make n:n number of dynamically added textfield plugins as many hotspots of that style you have. E.g. Each hotspot will onloaded create textfield plugin and copy title to this plugins and display text all the time.
regards
Umalo

publicitarios360

Fortgeschrittener

  • »publicitarios360« ist der Autor dieses Themas

Beiträge: 330

Wohnort: Habana, Cuba

Beruf: Architect, Photographer.

  • Nachricht senden

5

Dienstag, 17. Februar 2015, 06:13

Thanks very much Umalo,

I think that the first idea can be a little confused for the average, no expert user (why I can´t navigate as always? How to navigate, How to view the text?...)

The second idea is showing all the textfield as I attempted in the beginning, but now I think that it is not good for the resource system. If the map has 30 o more hotspots, then now has 60 due to textfield (hotspot icons are similar in load to textfields)

Maybe the best is "to paint" the map (multires bitmap map) in photoshop with the text, then only put the correct icon over it. Is sounds very hard, but no much in the paractice.

The other idea is think in new event for the mobile, as gesture over the icon for show th text, but it is very complex for now I think.

Greets,

Fernando

6

Dienstag, 17. Februar 2015, 08:55

Hi,

see here for always showing a text on a hotspot:
tooltips hotspots to display text all time

The example (hotspot style) there automatically creates and assigns a textfields to a hotspot.

Best regards,
Klaus

publicitarios360

Fortgeschrittener

  • »publicitarios360« ist der Autor dieses Themas

Beiträge: 330

Wohnort: Habana, Cuba

Beruf: Architect, Photographer.

  • Nachricht senden

7

Mittwoch, 18. Februar 2015, 03:48

Thanks Klaus,

The code is perfect for hotspots mobile. I add the new style inside <krpano devices=mobile> to maintain the standard hotspot style for desktop devices.

It does not look like for the fact of having always the hotspot visible to affect the performance of the system.


Greets,

Fernando

D_V

Anfänger

Beiträge: 5

Wohnort: Portugal

Beruf: 3D Artist & Designer

  • Nachricht senden

8

Dienstag, 10. März 2015, 21:09

Hotspots tooltips problems on Mobile

Hi,

I'm having a problem with the hotspots tooltips on mobile. The problem is that the text doesn't appear on all hotspots. Just on some of them. Can you help me out?
In Desktop browser they're just fine.

Here is a link where you can see this happening:








http://visual-labs.com/penthouse/tour.html

Thanks,
DV

9

Dienstag, 10. März 2015, 21:20

Have you tried to update your Krpano version and textfiled to latest version? Maybe there is the catch?

D_V

Anfänger

Beiträge: 5

Wohnort: Portugal

Beruf: 3D Artist & Designer

  • Nachricht senden

10

Mittwoch, 11. März 2015, 17:09

Yes Umalo, that was the main problem but also i add to clean up some code...

Thanks

joschii

Anfänger

Beiträge: 25

Wohnort: Austria

Beruf: VR

  • Nachricht senden

11

Montag, 3. August 2020, 18:20

Hotspot Name Tag Label Text Plugin

hi. i made a plugin that puts the hotspot's-name under every hotspot as a textfield automatically.
like the tooltip is visible always an clickable if you want to.
textfield can be edited of course.
simple integration.
works also in VR and smartphone, or touch devices.
DEMO_TOUR_EXAMPLE
would that help you? or do you need something else?