Page 1 of 1

Maps icon individual

Posted: Mon Mar 11, 2019 6:34 pm
by SergePix
It is possible to have an individual icon for each node on the maps?

Re: Maps icon individual

Posted: Mon Mar 11, 2019 6:55 pm
by Hopki
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

Re: Maps icon individual

Posted: Mon Mar 11, 2019 7:04 pm
by SergePix
I used the map element in the skin.

Re: Maps icon individual

Posted: Mon Mar 11, 2019 10:26 pm
by Hopki
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

Re: Maps icon individual

Posted: Tue Mar 12, 2019 1:36 pm
by SergePix
Hello Hopki,

That's work fine!

Thank you!