More plumbing of grid coordinates vs. geo coordinates.
- Added background reference parameter to layout command
- send correct location data to client for devices, hosts
Change-Id: Ic00bda76f4e4bc8d3e23e07a08f3bc5367ec85a9
diff --git a/web/gui/src/main/webapp/tests/app/view/topo/topoModel-spec.js b/web/gui/src/main/webapp/tests/app/view/topo/topoModel-spec.js
index 0d1f8a5..e9f63f6 100644
--- a/web/gui/src/main/webapp/tests/app/view/topo/topoModel-spec.js
+++ b/web/gui/src/main/webapp/tests/app/view/topo/topoModel-spec.js
@@ -232,7 +232,7 @@
it('should position a node by translating lng/lat', function () {
var node = {
location: {
- type: 'lnglat',
+ type: 'geo',
lng: 2008,
lat: 3009
}
@@ -319,7 +319,7 @@
type: 'yowser',
online: true,
location: {
- type: 'lnglat',
+ type: 'geo',
lng: 2048,
lat: 3096
}