commit | 3077df527e4eb339015ed53051a8b4a46a4d6fac | [log] [tgz] |
---|---|---|
author | zylin <zylin@cs.nctu.edu.tw> | Fri Mar 04 10:40:17 2016 +0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri Mar 04 18:38:54 2016 +0000 |
tree | d0309b81b3c3106b91faf78df1dfd003c65edf4a | |
parent | d7909ca0e3ffef43952d0d90aaed1dce8bfcd7fe [diff] [blame] |
Add background (map of Taiwan) to WEB UI Change-Id: I24db383bc0c43614a15c08232b86191a8e455ce3
diff --git a/web/gui/src/main/webapp/app/view/topo/topo.js b/web/gui/src/main/webapp/app/view/topo/topo.js index df2e601..d4099fe 100644 --- a/web/gui/src/main/webapp/app/view/topo/topo.js +++ b/web/gui/src/main/webapp/app/view/topo/topo.js
@@ -398,6 +398,13 @@ adjustScale: mapScale, shading: shading() }); + } else if (mapId === 'taiwan') { + shadeFlip = 0; + promise = ms.loadMapInto(mapG, '*taiwan', { + objectTag: 'taiwan', + adjustScale: mapScale, + shading: shading() + }) } else { shadeFlip = 0; cfilter = countryFilters[mapId] || countryFilters.world;