Horizon  
                
               
               
                 
              
                  
                    December 15, 2021,  4:16pm
                   
                   
              1 
               
             
            
              DistanceFinder This extension was created by Horizon for calculating distance between two places. Thank You
💡  Current Version 1.0
📁  File Size 11.84 KB
📦  io.horizon.distancefinder.DistanceFinder
📅   Created On 2021-12-15
CalculateDistance  - This block calculates the distance between two places ➜ latitude1   input type number ➜ longitude1   input type number ➜ latitude2   input type number ➜ longitude2   input type number
AfterCalculation  - Event Triggered after calculating distance ➜ distance   output type number
Helper blocks
This extension was made on request of @Coding_Bot  
and he has also tested the extension
This docs is generated from AIX Docs - Cttricks . Hit   button if you liked this extension and feel free to comment below your reviews and suggestion.
Click here   to download this extension.
Thank you
             
            
               
               
              6 Likes 
            
            
                 
                 
              
           
          
            
              
                Taifun  
                
               
               
              
                  
                    December 15, 2021, 10:03pm
                   
                   
              2 
               
             
            
              
which formula do you use to calculate the distance? 
the Haversine formula?
  
  
    
The haversine formula determines the great-circle distance between two points on a sphere given their longitudes and latitudes. Important in navigation, it is a special case of a more general formula in spherical trigonometry, the law of haversines, that relates the sides and angles of spherical triangles.
 The first table of haversines in English was published by James Andrew in 1805, but Florian Cajori credits an earlier use by José de Mendoza y Ríos in 1801. The term haversine was coined in 18...
   
  
    
    
  
  
 
Taifun
             
            
               
               
              1 Like 
            
            
                 
                 
              
           
          
            
            
              
 Taifun:
 
which formula
 
 
if a formula used (not web api), then maybe the AfterCaculated event is not needed. it can give a result directly.
             
            
               
               
              2 Likes 
            
            
                 
                 
              
           
          
            
              
                Horizon  
                
               
               
              
                  
                    December 16, 2021,  1:29am
                   
                   
              4 
               
             
            
              
 Taifun:
 
Haversine formula
 
 
Yes @Taifun  I have used this formula only
Thank you 
Horizon
             
            
               
               
               
            
            
                 
                 
              
           
          
            
              
                Horizon  
                
               
               
              
                  
                    February 17, 2022,  2:09pm
                   
                   
              5 
               
             
            
              Hello everyone, 
Recently my laptop's windows were Corrupted, therefore all code my all extensions are deleted except TicTacToe Extensions, so I won't be able to help you if you have any errors or wanted to know how to use it. 
I am so sorry about it
Thank you
             
            
               
               
               
            
            
                 
                 
              
           
          
            
              
                system  
                
                  Closed 
               
               
              
                  
                    February 24, 2022,  2:10pm
                   
                   
              6 
               
             
            
              This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.