Mateusz Bem
Mateusz Bem
It is in ngAfterViewInit(), I tried multiple solutions, everytime with no effect. this.layerGroup = L.layerGroup().addTo(this.map); this.browserPrint = L.control.browserPrint({ title: 'Geotiff test', }).addTo(this.map); L.BrowserPrint.Utils.registerLayer( L.LayerGroup, 'L.LayerGroup', function(layer, utils) { const cluster:...
Thank you Igor, it works. L.BrowserPrint.Utils.registerLayer( GeoRasterLayer, 'GeoRasterLayer', function(layer: any) { const options: GeoRasterLayerOptions = { georaster: layer.options.georaster, opacity: 0.6, resolution: 128, }; const cluster: Layer = new GeoRasterLayer(options); return...