commit | c43a59d2d58a44c29b460741bd4ddff0114e36a5 | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Wed Apr 05 13:56:13 2017 -0700 |
committer | Simon Hunt <simon@onlab.us> | Wed Apr 05 13:56:37 2017 -0700 |
tree | 18df91267fadfd710a440bef2a7e2ccde75d477e | |
parent | ffaeac375ea05dbb1f0976bb68545b99341bedf3 [diff] [blame] |
Topo2: Added zoom callback to map service, to allow for adjusting map stroke-width on-the-fly. Change-Id: I08f7bdda0b34c8e64a95a05d3c5af28fc236fe7d
diff --git a/web/gui/src/main/webapp/app/view/topo2/topo2.js b/web/gui/src/main/webapp/app/view/topo2/topo2.js index 775228c..06e0a8d 100644 --- a/web/gui/src/main/webapp/app/view/topo2/topo2.js +++ b/web/gui/src/main/webapp/app/view/topo2/topo2.js
@@ -73,6 +73,9 @@ offsetY: tr[1] }; + // Allow map service to react to change in zoom parameters + t2ms.zoomCallback(sc, tr); + // Note: Meta data stored in the context of the current layout, // automatically, by the server