I have added openseadragon-annotations fro my angular project and added
"../node_modules/openseadragon/build/openseadragon/openseadragon.js",
"../node_modules/openseadragon-annotations/dist/openseadragon-annotations.js"
under scripts and
var viewer = OpenSeadragon({
id: 'viewer',
showNavigator: true,
tileSources: {
Image: {
xmlns: 'http://schemas.microsoft.com/deepzoom/2008',
Url: 'http://content.zoomhub.net/dzis/TDbz_files/',
Format: 'jpg',
Overlap: '1',
TileSize: '254',
ServerFormat: 'Default',
Size: {
Height: '4409',
Width: '7793'
}
}
}
});
const annotations = new OpenSeadragon.Annotations({ viewer });
It was givving the error:
Uncaught TypeError: openseadragon_1.OpenSeadragon is not a function
looking for help..