-
Notifications
You must be signed in to change notification settings - Fork 20
Legend panel
Raitis Berzins edited this page Oct 6, 2021
·
6 revisions
Add HsLegendModule module import:
import {HsLegendModule} from 'hslayers-ng';
@NgModule({
imports: [HsLegendModule],
})
export class YourAppModule {}
Add HsLegendPanel component:
import {HsLayoutService, HsLegendComponent} from 'hslayers-ng';
@Component({
selector: 'your-app-component',
templateUrl: 'your-app-component.html',
})
export class YourAppComponent {
constructor(hsLayoutService: HsLayoutService) {
hsLayoutService.createPanel(HsLegendComponent, {});
}
}
Quick Links: Home ➖ App configuration ➖ Layer configuration ➖ Cesium configuration ➖ Composition schema (separate repo)