FarmMapsLib/projects/common-map/src/fm-map/common-map-routing.module.ts
Willem Dantuma 9277b1fa25
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
Remove authguard
2020-01-20 17:31:09 +01:00

30 lines
714 B
TypeScript

import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { MapComponent } from './components/map/map.component';
import { AuthGuard } from '@farmmaps/common';
const routes = [
{
path: '', children: [
{
path: '',
component: MapComponent
}
]
},
{
path: ':xCenter/:yCenter/:zoom/:rotation/:baseLayer/:queryState', children: [
{
path: '',
component: MapComponent
}
]
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class MapRoutingModule { }