enabled lines between nodes and changed initial offset when multiple nodes found
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 7 Dec 2010 02:05:12 +0000 (02:05 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 7 Dec 2010 02:05:12 +0000 (02:05 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@257 01035d8c-6547-0410-b346-abe4f91aad63

dilimesh/dilimesh/dilimesh.html

index a72d3cbc91ce8d41074e9e58fa99cfa57afe5c98..d4ca6cbfac7d39c1761f18d70afb2847f9c67ccd 100644 (file)
 
       if (node_exists == 0) {
          // small offset makes sure we don't create them all on one spot
-         var location = new google.maps.LatLng(lat + 1E-3*nodes.length, lng);
+         var location = new google.maps.LatLng(lat + 1E-4*nodes.length, lng);
          placeMarker(location, vis.data[i].router, true);
       }
     }
 
         if (node_exists == 0) {
           // small offset makes sure we don't create them all on one spot
-          var location = new google.maps.LatLng(lat + 1E-5*nodes.length, lng);
+          var location = new google.maps.LatLng(lat + 1E-4*nodes.length, lng);
           placeMarker(location, vis.data[i].neighbour, true);
         }
       }
     // now all nodes are logged in text file and nodes database
     // lets see if we any have routes between them
 
-    //drawPathesBetweenNodes();
+    drawPathesBetweenNodes();
   }