iangilman
aefe7f3610
Merge pull request #185 from robhobbes/master
...
Adding partial support for rotation.
2013-08-20 11:08:58 -07:00
Robert Hickman
d4467477ad
More rotation documentation.
2013-08-19 16:29:22 -06:00
Ian Gilman
4b0450d271
Documented "current" param to a number of viewport functions
2013-08-19 10:14:04 -07:00
iangilman
d2353746c9
Merge pull request #179 from lukemurray/destroy
...
Add a destroy function on the viewer to clean up and remove elements
2013-08-19 10:03:12 -07:00
iangilman
dde052a22a
Merge pull request #188 from iangilman/touch
...
Ignoring touchMove if we didn't get the touchStart
2013-08-19 09:57:36 -07:00
iangilman
e955c402ac
Merge pull request #187 from iangilman/rtl
...
Drawer now works when the page is rtl
2013-08-19 09:55:04 -07:00
Robert Hickman
767c897e7f
Revisions to rotate after second code review.
2013-08-16 11:32:21 -06:00
Ian Gilman
96c14f7617
Ignoring touchMove if we didn't get the touchStart
2013-08-16 10:09:49 -07:00
Robert Hickman
54e8d8c43f
Fixes made after first code review of rotation.
2013-08-15 16:15:20 -06:00
Ian Gilman
6669589e5e
Drawer now works when the page is rtl
2013-08-15 12:54:32 -07:00
Robert Hickman
6c63710131
Rotating overlays.
2013-08-14 13:43:49 -06:00
Ian Gilman
adbf35e002
Merge branch 'master' into form
2013-08-14 10:41:32 -07:00
Ian Gilman
3272572124
Clicking on a button control no longer refreshes page
2013-08-14 10:39:39 -07:00
Robert Hickman
b9583c43ac
Working on rotating images.
...
So far only 90 degree rotation is supported.
Only the image is currently being rotated.
Overlays, debugger, and the navigator still need to be updated to support rotation.
2013-08-13 16:32:04 -06:00
Luke Murray
ab82783cf1
update the comments and unit test
2013-08-13 10:33:12 +10:00
Luke Murray
0c662b8a8d
fix: comment updates and add a simple test for viewer.destroy
2013-08-12 16:38:37 +10:00
Luke Murray
68f9d675fc
fix: calling viewer.destroy() multiple times throw an error. And a simple destroy to mousetracker
2013-08-08 17:49:24 +10:00
thatcher
88141c57f2
feature: navigatorPosition, option was available but not completely implemented
2013-08-08 00:12:44 -04: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
Ian Gilman
967f2e4f32
Changelog for #177 ; minor doc tweaks
2013-08-02 09:40:55 -07:00
iangilman
51e37e3553
Merge pull request #177 from pnorcross/_getSafeElemSize
...
(hopefully) Final fix for issue #109 , Viewport Broken on Hide.
2013-08-02 09:36:06 -07:00
pnorcrss
26938ed10e
cleaned up docBlock and tabs in _getSafeElemWidth()
2013-08-01 12:11:33 -05:00
iangilman
f53ea2ddf1
Merge pull request #160 from lukemurray/custom_zoom_handler
...
Add the option for a zoom handler callback
2013-08-01 09:52:11 -07: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
pnorcrss
e47210d0bd
refactored _getSafeElemSize()
2013-07-31 14:10:44 -05:00
pnorcrss
cb39fb7e32
fixed _getSafeElemSize()
2013-07-31 14:01:46 -05:00
pnorcrss
bf3dd7c031
fixed _getSafeElemSize() calls
2013-07-31 13:28:38 -05:00
pnorcrss
750eafcd2e
added and implemented _getSafeElemSize()
2013-07-31 13:00:16 -05:00
iangilman
0aa0641cf4
Merge pull request #168 from ethanli83/fixtouch
...
canvas pans when tap on touch screen
2013-07-31 10:25:19 -07: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
0a8d11875e
Merge branch 'master' into custom_zoom_handler
2013-07-31 16:39:54 +10:00
ethan.li
0bb9c5be97
issue:
...
canvas pans when tap on touch screen
reason:
onTouchStart calls onMouseDown which registers 'mousemove' event handler.
when I tap on touch screen, even though browser did not dispatch 'touchmove' event, it dispatched 'mousemove' event.
therefore, the 'mousemove' handler pans canvas.
fix:
stop onTouchStart handler registering 'mousemove' handler as onMouseMove will be properly triggered by onTouchMove
2013-07-23 16:40:04 +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
iangilman
77cf2a3b88
Merge pull request #159 from ethanli83/master
...
Fix for onTouchEnd
2013-07-12 09:01:31 -07:00
Luke Murray
233c3a357a
Add the option for a zoom handler callback
2013-07-12 16:51:56 +10:00
ethan.li
0ef98be0b7
for fix I made to onTouchEnd:
...
1. remove IE8 related code as it does not support touch anyway
2. use event.changedTouches [ 0 ] rather than event
2013-07-12 10:29:44 +10:00
Ian Gilman
7391561dcd
OpenSeadragon.now() returned undefined the first time; fixed
2013-07-10 09:31:22 -07:00
ethan.li
8108009ba7
fix issue:
...
onTouchEnd did not call the correct mouse up handler
2013-07-09 11:07:18 +10:00
iangilman
850aa14802
Merge pull request #151 from acdha/overhauled-ajax-error-reporting
...
Overhauled AJAX error reporting
2013-07-03 09:56:07 -07:00
radix-pro
004f13365d
Update iiiftilesource.js
2013-07-02 13:41:37 -07:00
radix-pro
3c7e4b794a
Update iiiftilesource.js
2013-07-02 00:41:22 -07:00
radix-pro
8f8e028015
Update iiiftilesource.js
2013-07-02 00:34:23 -07:00
radix-pro
acd55c709d
Update iiiftilesource.js
2013-07-02 00:27:53 -07:00
radix-pro
040ff3a7ae
Update iiiftilesource.js
2013-07-02 00:18:37 -07:00
radix-pro
a4303fb232
Update iiiftilesource.js
2013-07-02 00:02:48 -07:00
radix-pro
0441cfe4ec
Update iiiftilesource.js
2013-07-01 23:55:07 -07:00
radix-pro
44a9d1b98b
Update iiiftilesource.js
2013-07-01 23:49:25 -07:00
radix-pro
dde42b641d
Update iiiftilesource.js
...
Fix Issue #55 "Tiles rendering issue..."
2013-07-01 22:38:37 -07:00
Chris Adams
0ed4703bd3
Viewport messages: add a class to the dialog for easy styling
2013-07-01 18:26:44 -04:00
Chris Adams
1ab6094420
Viewer: make viewport messages private, repeatable
...
* Marked _showMessage/_hideMessage as private
* Fix DOM manipulation bug: call standard removeNode() method rather
than proprietary WebKit .remove()
* Change messageDiv to be the outer wrapper to simplify removing the
entire message container
2013-07-01 13:43:48 -04:00