Navigation überspringen

[Gelöst] Custom map cluster

This support ticket is created vor 2 Jahre, 3 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zeitzone des Unterstützers: Asia/Hong_Kong (GMT+08:00)

Dieses Thema enthält 4 Antworten, hat 3 Stimmen.

Zuletzt aktualisiert von pierre-yvesC vor 2 Jahre, 3 Monaten.

Assistiert von: Luo Yang.

Author
Artikel
#2579187

Hi,

I'm following the workaround explained here https://toolset.com/documentation/programmer-reference/maps/customizing-cluster-markers-with-javascript-functions/ unfortunately it doesn't work.

It's there: versteckter Link

#2579263

Nigel
Unterstützer

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: Europe/London (GMT+01:00)

Hi there

When I visit the page I can see that clustering is working.

But you are trying to customise the appearance of the clusters, and it's not working?

Can you give details of what specifically you have done, i.e. share the code you used to customise the markers.

#2579265

Hello,

Yes you're right, the cluster is working, but I'm trying to customize the look, using those pictures:
versteckter Link
versteckter Link
versteckter Link

Thx

#2579703

Hello,

I have tried it in a fresh WP installation + the latest version of Toolset plugins + your customized icons, those custom JS codes does work, but you need to resize your custom icons to specific size, for example 50px * 50px, see below test site:

Login URL:
versteckter Link

Content template with custom JS codes:
versteckter Link

it is using an icon 50px * 50px
versteckter Link

See result here:
versteckter Link

#2579943

My issue is resolved now. Thank you very much!