Toolset is getting me crazy, I'm totally stuck with your map system, I have another ticket open with Luo since 2 months, but this problem is so simple and logic that is not natural all this code to solve.
I have a directory site, restaurants, hotels, apartments etc etc, I need to show a map with different markers depending on the item
Hotels red icon
Apartment green icon
Restaurant blue icon
ans so on
Hello. Thank you for contacting the Toolset support.
Yes, sure. I am here to help and will try to help you in the right direction in order to resolve your issue.
Can you please share problem URL where you added your map as well as share access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I need little more information. I see you are using the following view;
=> hidden link
The view is set to query two post types (appartments and Restaurantes).
I would like to know, you want to display different markder per post type or terms assigned. Because, you assigned different taxonomy to both post types.
- appartments have been assigned the appartmenet-category
- Restaurantes have been assigned the restaurante-type
I see with the restaurante-type taxonomy there are 17 terms, if you want to display different icons per term you need to add 17 conditional statements. hidden link
So, as you can see I've adjusted the view's loop as you can see with your edit view link as given under:
=> hidden link