programaticaly use a link to set a map zoom level 
		
		
		
        
			
            Started by: stuart  
			
			
				
                in: Toolset Professional Support  
				
						
        
				
     
    
		             
			     
    2 
    3 
    
		
		4 years, 4 months ago 
		
        
			
            stuart  
			
        
     
	
 
			
				
    
		
         
     
    
		
        Define Contractor Service Area 
		
		
		
        
			
            Started by: aaronW-7  
			
			
				
                in: Toolset Professional Support  
				
						
        
				
     
    
		             
			     
    2 
    2 
    
		
		4 years, 5 months ago 
		
        
			
            Waqar  
			
        
     
	
 
			
				
    
		
         
     
    
		
        Need to understand Maps limitations 
		
		
		
        
			
            Started by: chrisH-10  
			
			
				
                in: Toolset Professional Support  
				
						
        
				
     
    
		             
			     
    2 
    2 
    
		
		4 years, 5 months ago 
		
        
			
            Christian Cox  
			
        
     
	
 
			
				
    
		
         
     
    
		
        Click to direct streetview of location 
		
		
		
        
			
            Started by: stuart  
			
			
				
                in: Toolset Professional Support  
				
						
        
				
     
    
		             
			     
    2 
    3 
    
		
		4 years, 5 months ago 
		
        
			
            stuart  
			
        
     
	
 
			
				
    
		
         
     
    
		
        Site Kit By Google and Toolset Maps 
		
		
		
        
			
            Started by: garyN-2  
			
			
				
                in: Toolset Professional Support  
				
						
        
				
     
    
		             
			     
    2 
    3 
    
		
		4 years, 5 months ago 
		
        
			
            garyN-2  
			
        
     
	
 
			
				
    
		
         
     
    
		
        Location Data Assignment in C&B Reference Site 
		
		
		
        
			
            Started by: Don  
			
			
				
                in: Toolset Professional Support  
				
						
        
				
     
    
		             
			     
    2 
    9 
    
		
		4 years, 5 months ago 
		
        
			
            Don  
			
        
     
	
 
			
				
    
		
         
     
    
		
        Remove autocomplete on Address field 
		
		
		
        
			
            Started by: Don  
			
			
				
                in: Toolset Professional Support  
				
						
        
				
     
    
		             
			     
    2 
    4 
    
		
		4 years, 5 months ago 
		
        
			
            Don  
			
        
     
	
 
			
				
    
		
         
     
    
		
        Capture the distance between two points and save to custom field 
		
		
		
        
			
            Started by: stuart  
			
			
				
                in: Toolset Professional Support  
				
						 
                
									  Quick solution available								 
				
        
		            
				Problem:  I have two address fields, one in a parent post type and one in a child post type. When a new child post is created, I would like to calculate the distance between the two addresses and save that distance in another custom field in the child post type.
Solution:  You can use the cred_submit_complete  hook to trigger custom code with the shortcode toolset-maps-distance-value  to calculate the distance between two addresses. Use the update_post_meta function to store that distance in another custom field.
add_action('cred_submit_complete', 'tssupp_calc_parent_child_distance',10,2);
function tssupp_calc_parent_child_distance($post_id, $form_data)
{
  $forms = array(123, 456);
  $relationship_slug = 'book-chapter';
  $parent_address_slug = 'book-address-1';
  $child_address_slug = 'chapter-address-1';
  $child_distance_slug = 'chapter-single-line-1';
  $unit = 'km';
  $decimals = 2;
 
  // if a specific form
  if ( in_array( $form_data['id'], $forms ) )
  {
    $related_post = toolset_get_related_post( $post_id, $relationship_slug, 'parent' );
    if( $related_post ) {
      $child_location = get_post_meta( $post_id, 'wpcf-'.$child_address_slug, true );
      $parent_location = get_post_meta( $related_post, 'wpcf-'.$parent_address_slug, true );
      if( $child_location && $parent_location ) {
        $distance = do_shortcode("[toolset-maps-distance-value location='" . $child_location . "' postmeta='wpcf-". $parent_address_slug . "' postmeta_id='" . $related_post . "' unit='" . $unit . "' decimals='" . $decimals . "']");
        update_post_meta( $post_id, 'wpcf-'.$child_distance_slug, $distance );
      }
    }
  }
}
  
Relevant Documentation:  
https://toolset.com/documentation/programmer-reference/cred-api/#cred_submit_complete  
https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/#toolset_get_related_post  
https://toolset.com/documentation/programmer-reference/maps/maps-shortcodes/#toolset-maps-distance-value 
             
				
     
    
		             
			     
    2 
    6 
    
		
		4 years, 5 months ago 
		
        
			
            stuart  
			
        
     
	
 
			
				
    
		
         
     
    
		
        adress field widget input 
		
		
		
        
			
            Started by: rogero-2  
			
			
				
                in: Toolset Professional Support  
				
						
        
				
     
    
		             
			     
    2 
    5 
    
		
		4 years, 5 months ago 
		
        
			
            Waqar  
			
        
     
	
 
			
				
    
		
         
     
    
		
        Map markers and pagination 
		
		
		
        
			
            Started by: jamesB-3  
			
			
				
                in: Toolset Professional Support  
				
						
        
				
     
    
		             
			     
    2 
    2 
    
		
		4 years, 5 months ago 
		
        
			
            Jamal  
			
        
     
	
 
			
				
    
		
         
     
    
		
        google map api can't work 
		
		
		
        
			
            Started by: liaoc  
			
			
				
                in: Toolset Professional Support  
				
						
        
				
     
    
		             
			     
    2 
    4 
    
		
		4 years, 5 months ago 
		
        
			
            Jamal  
			
        
     
	
 
			
				
    
		
         
     
    
		
        Maps distance filter  using a custom field as the location 
		
		
		
        
			
            Started by: stuart  
			
			
				
                in: Toolset Professional Support  
				
						 
                
									  Quick solution available								 
				
        
		            
				
     
    
		             
			     
    2 
    10 
    
		
		4 years, 5 months ago 
		
        
			
            stuart  
			
        
     
	
 
			
				
    
		
         
     
    
		
        filter button is not filtering, and cannot edit map styling 
		
		
		
        
			
            Started by: rogero-2  
			
			
				
                in: Toolset Professional Support  
				
						
        
				
     
    
		             
			     
    2 
    5 
    
		
		4 years, 5 months ago 
		
        
			
            Shane  
			
        
     
	
 
			
				
    
		
         
     
    
		
        Displaying a view of related posts of a related post 
		
		
		
        
			
            Started by: stuart  
			
			
				
                in: Toolset Professional Support  
				
						 
                
									  Quick solution available								 
				
        
		            
				Problem:  
The user has used a relationship query filter on a view, but it does not give the expected results.
Solution:  
It turned out that the user was not using the correct relationship.
             
				
     
    
		             
			     
    2 
    3 
    
		
		4 years, 5 months ago 
		
        
			
            stuart  
			
        
     
	
 
			
				
    
		
         
     
    
		
        legacy views and maps documentation 
		
		
		
        
			
            Started by: stuart  
			
			
				
                in: Toolset Professional Support  
				
						
        
				
     
    
		             
			     
    2 
    4 
    
		
		4 years, 5 months ago 
		
        
			
            stuart