emigre / openseadragon-annotations

Draw annotations over deep zoom images
BSD 3-Clause "New" or "Revised" License
97 stars 39 forks source link

Uncaught TypeError: openseadragon_1.OpenSeadragon is not a function #23

Open emohankrishna opened 6 years ago

emohankrishna commented 6 years ago

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..

codenoviceyz commented 5 years ago

yes,i have met the same problem

tussharkhairnar commented 4 years ago

hi!! Any solution ?

emigre commented 4 years ago

@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.