Maps icon individual

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

Mon Mar 11, 2019 6:34 pm

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

Mon Mar 11, 2019 6:55 pm

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
Hopki
Garden Gnome Software 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/
SergePix
Posts: 48
Joined: Fri Feb 01, 2019 2:27 pm

Mon Mar 11, 2019 7:04 pm

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

Mon Mar 11, 2019 10:26 pm

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
Hopki
Garden Gnome Software 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/
SergePix
Posts: 48
Joined: Fri Feb 01, 2019 2:27 pm

Tue Mar 12, 2019 1:36 pm

Hello Hopki,

That's work fine!

Thank you!
Serge
Version: 6.1.1 pro 64bit
Windows 10
Post Reply