Skip Navigation

[Resolved] Custom map cluster

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 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 3 voices.

Last updated by pierre-yvesC 1 year, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#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: hidden link

#2579263

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00: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:
hidden link
hidden link
hidden 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:
hidden link

Content template with custom JS codes:
hidden link

it is using an icon 50px * 50px
hidden link

See result here:
hidden link

#2579943

My issue is resolved now. Thank you very much!