• Resolved jnz31

    (@jnz31)


    hi

    i used the code from this page, and it works, BUT cluster.
    when there is a cluster of multiple stores and my location is also there, then the cluster counter will also count my location into it. so if there are 3 stores, the cluster says 4 instead of 3.
    how could this be solved?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Try to add this code to the functions.php inside your active theme folder.

    
    add_filter( 'wpsl_js_settings', 'custom_js_settings' );
    
    function custom_js_settings( $settings ) {
    
        $settings['excludeStartFromCluster'] = 1;
    
        return $settings;
    }
    
    Thread Starter jnz31

    (@jnz31)

    ??

    Thread Starter jnz31

    (@jnz31)

    ups. now we found a bug..
    so the marker is gone by now (at least visually), but the marker is still there. its clickable and it opens the google maps info-window with the Start location text.. i removed the text from the settings, but same result (empty info box)

    • This reply was modified 6 years, 2 months ago by jnz31.
    • This reply was modified 6 years, 2 months ago by jnz31.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide the Start Marker inside cluster’ is closed to new replies.