Ignore:
Timestamp:
02/27/2006 05:47:48 AM (6 years ago)
Author:
cirrus
Message:

Add: Google earth (nodes line of sight). Closes #88

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/pages/nodes/nodes_plot_link.php

    r143 r146  
    6767                        $this->tpl['b_node_tilt'] = rad2deg(atan(($a_node_total_elevation - $b_node_total_elevation) / ($this->tpl['distance'] * 1000))); 
    6868                        $this->tpl['distance'] = sqrt( pow($this->tpl['distance'] * 1000, 2) + pow( abs($a_node_total_elevation - $b_node_total_elevation), 2 ) ) / 1000; 
    69  
     69                        $this->tpl['gearth'] = makelink(array("page" => "gearth", "subpage" => "download", "node" => get('a_node'), "node2" => get('b_node'), "show_p2p" => "1", "show_aps" => "1", "show_clients" => "1", "show_unlinked" => "1", "show_links_p2p" => "1", "show_links_client" => "1")); 
    7070                        $this->tpl['frequency'] = (integer)$_POST['frequency']; 
    7171                        if ($this->tpl['frequency'] <= 0) $this->tpl['frequency'] = 2450; 
Note: See TracChangeset for help on using the changeset viewer.