implement topojson based map rendering
position devices based on location.lat/lng
use viewbox on topo root svg to support live scaling of map and nodes
Change-Id: I56c2b1e211ab63a694b817d04ee4bb62ac62cec4
diff --git a/web/gui/src/main/webapp/index2.html b/web/gui/src/main/webapp/index2.html
index ca5b6a8..aa62d13 100644
--- a/web/gui/src/main/webapp/index2.html
+++ b/web/gui/src/main/webapp/index2.html
@@ -34,6 +34,7 @@
<!-- Third party library code included here -->
<!--TODO: use the minified version of d3, once debugging is complete -->
<script src="libs/d3.js"></script>
+ <script src="libs/topojson.v1.min.js"></script>
<script src="libs/jquery-2.1.1.min.js"></script>
<!-- Base library and framework stylesheets included here -->
@@ -101,6 +102,7 @@
<!-- Contributed (application) views injected here -->
<!-- TODO: replace with template marker and inject refs server-side -->
<script src="webSockTrace.js"></script>
+
<script src="topo2.js"></script>
<!-- finally, build the UI-->