Skip Navigation

[Resolved] Few different marker icon on one map

This support ticket is created 4 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by zbyszekZ 4 years ago.

Assisted by: Raja Mohammed.

Author
Posts
#1832559

Tell us what you are trying to do?
I need to mark on my client map several different objects.
But every one must to have individual marker icon, e.g. restaurant, school, cinema, etc.
I would like to use my SVG files as marker icon.
Is it possible to do?

Is there any documentation that you are following?
no

Is there a similar example that we can see?
no

What is the link to your site?
hidden link

#1834315

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello there,

This is possible with conditional display of map markers Shortcode inside the Map rendered
I am not sure how the view looks for schools, restaurants etc, if that is coming from a taxonomy then you can very well use the solution already mentioned here https://toolset.com/forums/topic/different-marker-icons-based-on-taxonomy/#post-1096321

Also the same solution can be modified based on the custom type from which the value can be used for the conditionals

Regarding the SVG files you can use them in the icon field like [wpv-map-marker marker_icon="hidden link"], However you cannot change its size on the front end so make sure add the files in appropriate size.

Let me know if that helps,

Kind regards
Raja

#1837381

Thank you for your advice! I will check it soon and give you a sign how it works.