FarmMapsLib/projects/common-map/src/fm-map/common-map-routing.module.ts

38 lines
881 B
TypeScript
Raw Normal View History

2020-01-07 21:27:46 +00:00
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { MapComponent } from './components/map/map.component';
import { AuthGuard } from '@farmmaps/common';
const routes = [
{
2020-01-20 16:31:09 +00:00
path: '', children: [
2020-01-07 21:27:46 +00:00
{
path: '',
component: MapComponent
}
]
},
{
2020-01-20 16:31:09 +00:00
path: ':xCenter/:yCenter/:zoom/:rotation/:baseLayer/:queryState', children: [
2020-01-07 21:27:46 +00:00
{
path: '',
component: MapComponent
}
]
2020-10-30 11:37:02 +00:00
},
{
path: ':queryState', children: [
{
path: '',
component: MapComponent
}
]
}
2020-01-07 21:27:46 +00:00
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class MapRoutingModule { }