commit | 0d064ec80c2399e0c4327ea11e376c7bec343026 | [log] [tgz] |
---|---|---|
author | Sean Condon <sean.condon@microsemi.com> | Mon Feb 04 21:53:53 2019 +0000 |
committer | Sean Condon <sean.condon@microsemi.com> | Sun Feb 10 22:19:13 2019 +0000 |
tree | b3004cc9e39966f89e3e8d3fb414f019245a37a1 | |
parent | 72cc1ae07781d6818d92a6c69d411c412af6dee9 [diff] [blame] |
GUI2 Added selection of background maps Change-Id: I88ee69fe2ff24bb1b4b3fe633b04f2f1778f3a82
diff --git a/web/gui2/src/main/webapp/app/view/topology/layer/backgroundsvg/backgroundsvg.component.ts b/web/gui2/src/main/webapp/app/view/topology/layer/backgroundsvg/backgroundsvg.component.ts index e07f304..5536784 100644 --- a/web/gui2/src/main/webapp/app/view/topology/layer/backgroundsvg/backgroundsvg.component.ts +++ b/web/gui2/src/main/webapp/app/view/topology/layer/backgroundsvg/backgroundsvg.component.ts
@@ -13,7 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { Component, OnInit } from '@angular/core'; +import {Component, Input, OnInit} from '@angular/core'; +import {MapObject} from '../maputils'; /** * model of the topo2CurrentLayout attrs from BgZoom below @@ -76,6 +77,7 @@ styleUrls: ['./backgroundsvg.component.css'] }) export class BackgroundSvgComponent implements OnInit { + @Input() map: MapObject; layoutData: Layout = <Layout>{};