I don’t know if it’s the best solution, but I’ve done this way:
– open wpsl-gmap.js
– comment all occurrences of “addMarker()” where the second parameter is 0
– minify all and update wpsl-gmap.min.js
You can also do this without having to edit the JS code.
If you’re using a red start marker, then this CSS code will hide the red marker. Add it to styles.css in your theme folder, and adjust the name to the color that you’re using ( you can see the used file names in the /img/markers folder ).
#wpsl-wrap #wpsl-gmap img[src*="[email protected]"] {
display: none !important;
}
I’ve tried so, the marker is correctly hidden, but clusterizing continues…
I tried to place this CSS and didn’t work for me. What I had to do was to create a new marker inside the markers folder with a blank PNG and then set it to be the starter marker on the settings page. Worked for me (although maybe still counting inside the cluster)