Sidebar component - hslayers/hslayers-ng GitHub Wiki
Sidebar
Config parameters
List of useful config parameters for the sidebar component can be found here:
Enable/disable
import {HsConfig} from 'hslayers-ng/config';
@Component({
selector: 'your-app-component',
templateUrl: 'your-app-component.html',
})
export class YourAppComponent {
constructor(hsConfig: HsConfig) {
this.HsConfig.update({
componentsEnabled: {
guiOverlay: true, //(true by default)
sidebar: true //(true by default)
},
sidebarPosition: 'right', ('right' by default),
pureMap: false (false by default)
});
}
}