Remove start point from directions link
-
Hi ??
I want to remove the start point. It’s no longer on the map or in the cluster but if I click on ‘directions’ it’s still the starting address on google maps. The ‘origin’ (link) variable should be blank.
function custom_settings( $settings ) { $settings['startMarker'] = ''; $settings['excludeStartFromCluster'] = true; return $settings; } add_filter( 'wpsl_js_settings', 'custom_settings' );
Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Remove start point from directions link’ is closed to new replies.