Maps icon individual

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
SergePix
Posts: 108
Joined: Fri Feb 01, 2019 2:27 pm
Location: Quebec

It is possible to have an individual icon for each node on the maps?
Serge
Version: V7.01
Windows 10
User avatar
Hopki
Gnome
Posts: 13025
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Yes it is, you would use tags.
But first you need to provide a bit more information, when you say map, are you using the map element in the skin or using an image in the skin?
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
SergePix
Posts: 108
Joined: Fri Feb 01, 2019 2:27 pm
Location: Quebec

I used the map element in the skin.
Serge
Version: V7.01
Windows 10
User avatar
Hopki
Gnome
Posts: 13025
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Ok this will be quite easy to do.
Firstly add tags to your panoramas, the tag should represent which map pin should be used for it.
Example, cafe.

If your different map pins are say 20 x 20px then add a container 20 x 20px and call it something like map_pin.
Make all your map pin graphics a child of the container so they are all stacked on top of each other.

Deselect visible in all map pin graphics.
Now you open the map pins graphics visible logic block and add:

Trigger: Tags
Comparison: contain
Value: cafe
Visible: true

This is of course just for panoramas that have the tag cafe.
For the other map pin graphics add which ever tags go with them.

The end result will be that the correct map pin graphic will show for the node it belongs to.
Of course in the map element you clone as marker the container you called map_pin.

Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
SergePix
Posts: 108
Joined: Fri Feb 01, 2019 2:27 pm
Location: Quebec

Hello Hopki,

That's work fine!

Thank you!
Serge
Version: V7.01
Windows 10
Post Reply