Open emohankrishna opened 6 years ago
yes,i have met the same problem
hi!! Any solution ?
@emohankrishna I hope that you were able to make it work. I haven't had the time to maintain this and was planning on terminating it. Please fork it if you need it, and feel free to continue its development. All the best.
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..