Ian Gilman
d3ef767487
Merge pull request #2136 from jonasengelmann/master
...
Viewport rotation animation
2022-08-23 14:13:22 -07:00
Ian Gilman
f31179c9ce
Updated copyright to 2022
2022-06-08 15:02:29 -07:00
jonasengelmann
8519e30a3a
added viewport rotation animation
2022-03-29 16:50:18 +02:00
gunmiosb
f9fea572a5
Removed unnecessary (style.display !== 'none') check
...
Fixes issues 774 and 1861
2020-07-29 11:02:25 +02:00
Stefan Weil
0e2f5d49ef
Fix some typos in comments (found by codespell)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-09-01 10:59:20 +02:00
leesei
cce1e9ac37
fix: overlay size calculation
...
fix #1116
2017-02-01 12:06:14 +08:00
leesei
286ba36bf3
fix param for update()
...
Changes to be committed:
modified: src/overlay.js
2017-01-06 11:30:09 +08:00
Antoine Vandecreme
4bf7b62939
Fix enums doc.
2016-04-10 19:01:30 -04:00
Antoine Vandecreme
cd7bb8a8c4
Fix doc and debug message.
2016-04-06 12:55:50 -04:00
Antoine Vandecreme
81f439d430
Document the viewport parameter as mandatory in Overlay.getBounds.
2016-04-06 09:10:51 -04:00
Antoine Vandecreme
53d1534cc2
Add old properties for backward compatibility.
2016-04-05 13:05:32 -04:00
Antoine Vandecreme
5f9053fb6e
Fix Overlay.getBounds with BOUNDING_BOX rotation mode.
2016-04-01 15:46:43 -04:00
Antoine Vandecreme
fafb7f8db6
Readd blank lines.
2016-04-01 13:31:36 -04:00
Antoine Vandecreme
bd62d56a37
Fix Overlays.getBounds with rotation.
2016-04-01 13:29:09 -04:00
Antoine Vandecreme
c8ed3893ad
Fix method name.
2016-03-31 16:59:26 -04:00
Antoine Vandecreme
05a7e5e467
Fix bounding box rotation mode with placement other than top left.
2016-03-31 16:53:19 -04:00
Antoine Vandecreme
15a0db045e
Fix changelog and add comments.
2016-03-31 15:45:44 -04:00
Antoine Vandecreme
70b39d681b
Fix viewer.addOverlay and Overlay.getBounds
2016-03-31 13:25:59 -04:00
Antoine Vandecreme
577327a629
Change overlays to now always having Point location.
2016-03-30 15:12:50 -04:00
Antoine Vandecreme
ffbb8b2cfe
Add support of overlays rotation on IE9.
2016-03-30 11:16:29 -04:00
Antoine Vandecreme
33bd943b7a
Set overlays position and size with floating point values.
2016-03-29 15:29:36 -04:00
Antoine Vandecreme
cac5f6dec3
Add overlays rotation support.
2016-03-28 17:06:59 -04:00
Antoine Vandecreme
3e3ce188b1
Add scaleWidth and scaleHeight options to overlays.
2016-03-25 16:49:58 -04:00
Antoine Vandecreme
9c461824b3
Update OpenSeadragon.Placement to be serializable.
2016-03-22 15:50:48 -04:00
Ian Gilman
856f00994b
Changelog for #853
2016-02-23 09:22:53 -08:00
Alexey Tikhonov
7bcb1cc59f
return clone of bounds in Overlay.getBounds so original bounds wouldn't be affected
2016-02-20 00:44:33 +03:00
Alexey Tikhonov
06d263b4be
Add Viewer.getOverlayById and Overlay.getBounds functions
2016-02-18 01:43:53 +03:00
Antoine Vandecreme
a12b74ec17
Fix @lends for new JSDoc. Fix polymorphic functions doc ( #824 ).
2016-01-24 16:09:18 -05:00
Antoine Vandecreme
2c73b0fb44
Use Math.round instead of Math.floor and Math.ceil for overlay placement.
2015-10-09 14:15:54 -04:00
Rick Smith
d2f1e432cd
Use spaces not tabs
...
Phew...flame war averted. ;)
2015-06-23 16:08:18 -06:00
Rick Smith
b1c6a75c49
When overlays are hidden, keep them that way
...
Overlays previously had their display set to 'block' each time they were drawn. Now if their display is 'none' their display property is left alone
2015-06-23 16:04:40 -06:00
Ian Gilman
00c2881c64
Fixed test breakages
2014-11-03 17:14:17 -08:00
Antoine Vandecreme
4be56cdb52
Overlays performance optimization. See #359
2014-03-20 15:39:31 -04:00
Antoine Vandecreme
7852718be2
Fix style
2014-03-15 11:51:36 -04:00
Antoine Vandecreme
ecf10f5911
Fix test messages, add doc and factorize overlay object creation
2014-03-15 11:20:33 -04:00
Antoine Vandecreme
aaad805727
Add test for fixed overlay + update doc
2014-02-05 14:57:47 -05:00
Antoine Vandecreme
365dad9317
Move all overlay code from drawer to viewer
2014-01-30 15:38:37 -05:00
Mark Salsbery
930e8c4dfd
Updated Doclets
2013-11-25 08:48:44 -08:00
Mark Salsbery
ece76925a6
Updated Doclets
...
Lots of changes, most notably event documentation (@event and @fires)
2013-11-21 12:19:07 -08:00
Mark Salsbery
70b91d57ec
Updated doclets for jsdoc3
...
Updated so jsdoc3 parser picks everything up.
Added event docs.
Lots of documentation content needed...
2013-11-15 22:19:53 -08:00
iangilman
aefe7f3610
Merge pull request #185 from robhobbes/master
...
Adding partial support for rotation.
2013-08-20 11:08:58 -07:00
Robert Hickman
54e8d8c43f
Fixes made after first code review of rotation.
2013-08-15 16:15:20 -06:00
Robert Hickman
6c63710131
Rotating overlays.
2013-08-14 13:43:49 -06:00
Luke Murray
4ccb141a42
Add a destroy function on the viewer to clean up and remove elements
...
created by open seadragon. Add removeAllHandlersForAllEvents to clean up all events on destroy. Clear
the onDraw callback on Overlay destroy.
2013-08-07 10:54:20 +10:00
Luke Murray
2717398181
Use the correct onDraw in drawer.js. Remove imageFullSize and fix up the comment for onDraw
2013-08-01 13:36:00 +10:00
Luke Murray
4239bb7adc
fix: remove the useTransform/SVG stuff and move back to a simple onDraw callback only so people can handle their own custom drawing and sizing
2013-07-31 17:01:48 +10:00
Luke Murray
df877493a9
Rename drawHandler to onDraw. Also make it a notification style callback
...
(does not override the draw functionality).
Add an overlay option 'useTransform' that will transform the overlay
element instead of moving it's postion - useful for SVG elements
2013-07-16 12:04:37 +10:00
Luke Murray
233c3a357a
Add the option for a zoom handler callback
2013-07-12 16:51:56 +10:00
Chris Adams
9f6f164d9f
Remove all whitespace
...
The results of running this command::
find . -name \*.js -print0 | xargs -0 perl -p -i -e "s|[ \t]+$||"
(Split from #136 )
2013-06-19 13:33:27 -04:00
Benjamin Gilbert
fcc119bb84
Add file-specific descriptions to file headers
2013-05-14 00:00:24 -04:00