-
Notifications
You must be signed in to change notification settings - Fork 20
Compositions panel
Dailis edited this page Oct 13, 2021
·
5 revisions

import {HsConfig} from 'hslayers-ng';
@Component({
selector: 'your-app-component',
templateUrl: 'your-app-component.html',
})
export class YourAppComponent {
constructor(hsConfig: HsConfig) {
this.HsConfig.update({
panelsEnabled: {
composition_browser: true //(true by default)
}
});
}
}
Add HsCompositionsModule import:
import {HsCompositionsModule} from 'hslayers-ng';
@NgModule({
imports: [HsCompositionsModule],
})
export class YourAppModule {}
Add HsCompositionsComponent component:
import {HsLayoutService, HsCompositionsComponent} from 'hslayers-ng';
@Component({
selector: 'your-app-component',
templateUrl: 'your-app-component.html',
})
export class YourAppComponent {
constructor(hsLayoutService: HsLayoutService) {
hsLayoutService.createPanel(HsCompositionsComponent, {});
}
}
Quick Links: Home ➖ App configuration ➖ Layer configuration ➖ Cesium configuration ➖ Composition schema (separate repo)
- Add data
- Compositions
- Draw
- Feature table
- Language switcher
- Layer manager
- Legend
- Measure
- Map Swipe
- Search
- Share map (permalink)
- Query (feature info)
- Save map composition
- Trip planner
- App config parameters
- Cesium config parameters
- Layer config parameters
- SCSS variables
- URL parameters