ngx-admin/src/app/pages/maps/maps.component.ts

48 lines
898 B
TypeScript
Raw Normal View History

2016-05-11 17:38:01 +03:00
import {Component, ViewEncapsulation} from '@angular/core';
import {RouteConfig} from '@angular/router-deprecated';
2016-05-02 16:55:58 +03:00
import {GoogleMaps} from './components/googleMaps';
2016-05-02 18:17:54 +03:00
import {LeafletMaps} from "./components/leafletMaps";
2016-05-03 10:51:59 +03:00
import {BubbleMaps} from "./components/bubbleMaps";
import {LineMaps} from "./components/lineMaps";
2016-05-02 16:55:58 +03:00
@Component({
selector: 'maps',
pipes: [],
providers: [],
styles: [],
template: `<router-outlet></router-outlet>`
})
@RouteConfig([
{
name: 'GoogleMaps',
component: GoogleMaps,
path: '/google-maps',
useAsDefault: true
},
2016-05-02 18:17:54 +03:00
{
name: 'LeafletMaps',
component: LeafletMaps,
path: '/leaflet-maps',
},
2016-05-02 19:49:37 +03:00
{
name: 'BubbleMaps',
component: BubbleMaps,
path: '/bubble-maps',
},
2016-05-03 10:51:59 +03:00
{
name: 'LineMaps',
component: LineMaps,
path: '/line-maps',
},
2016-05-02 16:55:58 +03:00
])
export class Maps {
constructor() {
}
ngOnInit() {
}
}