Page 1 of 1
map pin text over all?
Posted: Fri Jan 21, 2022 7:47 am
by CStüben
Hi all,
i have a small tour, a map, and map pins with text. Works ok, but...
The map pint text appears below all pins. See pic.
I already have played around with z-index of pin text and map pins, no success. What can i do to swhow the text of the current map pin ABOVE all other pins?
The tour is...
http://360.haifischbar.de/panoramen/bei ... index.html
Thank you in advance.
Chris
- map pin 2.jpeg (227.96 KiB) Viewed 7976 times
Re: map pin text over all?
Posted: Sat Jan 22, 2022 7:33 am
by Tony
Hi,
I think the easiest way is just to use a floating tooltip.
- preview21.jpg (121.95 KiB) Viewed 7959 times
Here's a sample map with a number of markers and a floating tooltip.
If you are not familiar with floating tooltips there is a step-by-step description on how to make one at the end of this tutorial
https://tonyredhead.com/pano2vr/polygon-hotspots-proxy
Hopki also describes how to make a floating tooltip in this Webinar
https://www.youtube.com/watch?v=1TBsVx4VNTY&t=369s
Note: In my example, I've set the Z-index of the floating thumbnail to 99 and the map and markers to -1
cheers,
Tony
Re: map pin text over all?
Posted: Sat Jan 22, 2022 4:13 pm
by CStüben
I did it, and it is soooo simple...
i have set the z-index of map_pin_tt to 9999, and both map_pin_normal and map_pin_active to z-index 9998.
Greetings from germany
Chris
Re: map pin text over all?
Posted: Sat Jan 22, 2022 6:44 pm
by Hopki
Hi guys,
The way to do this is to use Pin Order as found in the map element.
Normally bottom to top solves this issue but may not be the answer to all, so adjusting Z-Index for the text box is the next best option.
Regards,
Re: map pin text over all?
Posted: Tue Jan 25, 2022 11:13 pm
by CStüben
Hopki wrote: ↑Sat Jan 22, 2022 6:44 pm
The way to do this is to use Pin Order as found in the map element.
Hi Hopki,
i found the old postings here that hinted to use the pin order. But ... nowhere in the map element i found a pin order property. Maybe my german localisation is translated misleading. Or what am i missing?
greetings from germany
Chris
- Ohne Titel.jpeg (294.32 KiB) Viewed 7877 times
Re: map pin text over all?
Posted: Tue Jan 25, 2022 11:54 pm
by Tony
Hi Chris,
The pin order options are in the dropdown menu Kartenstecknadeln Reihenfolge.
- aws-password44.jpg (75.27 KiB) Viewed 7872 times
cheers,
Tony
Re: map pin text over all?
Posted: Wed Jan 26, 2022 1:11 pm
by CStüben
Yep found it. Has been "lost in translation"
But ... Top to Bottom/Oben nach Unten hides the tooltip text below the other pins. Bottom to Top/Unten nach Oben will show the map_pin_tt as desired.
And i got rid of the ugly z-index solution.
Thank you!