Different icon in googlemap viz

samani

Member
hi
i want use a simple yes/no element in my form and when user select "yes" when he want add that data to the list, in google map viz, show the different icon for that location.
for example: i want to submit data in form and i select yes in special field of that form.then in map my location show with custom icon .
how do that?
tnx
 
You could try using the "Data icon" setting, which lets you assign an element which contains the image to use. I don't think you'd be able to use the yes/no element directly, but you could use a calc element to derive the image path you want to use depending on the value of the yes/no.

-- hugh
 
excus me hugh...
can you little more describe the correct scenario?
i study wiki of calc element and yes/no but i have not idea or solution to solve my problem.
thank's alot.
 
Looks like I solved it for my needs.

For the dropdown element I changed the saved values to my icon file names:
Yes = yes_icon
No = no_icon
And stored the images in the Media/com_fabrik image-folder

Added a Display element to add the full file name {my_yes_no_element}.png

And for the google map vizualtion I used the Data icon for the Display element and Data icon path was Media relative.

Matt
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top