Navigation überspringen

[Gelöst] Few different marker icon on one map

This support ticket is created vor 4 Jahren, 2 Monaten. 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.

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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von zbyszekZ vor 4 Jahren, 2 Monaten.

Assistiert von: Raja Mohammed.

Author
Artikel
#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?
versteckter Link

#1834315

Raja Mohammed
Supporter

Sprachen: Englisch (English )

Zeitzone: 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="versteckter 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.