Commit Graph

461 Commits

Author SHA1 Message Date
John Perdue
bfa0ac0137 Added setDebugMode function to Viewer.
Added SetDebugMode tests.


Update in respose to PR review.
2017-06-19 21:29:41 +01:00
Robert Saric
6f3b0a6d75 fix for #1165 (Reference strip not updated for initially set page) 2017-06-03 16:10:57 +02:00
Ian Gilman
29f973029f Changelog for #1196 and doc tweaks 2017-05-15 10:13:34 -07:00
Ian Gilman
bf1b5fd793 Merge pull request #1196 from VipSaran/master
fix for #1191 (extension of Viewer.open() function with initialPage argument)
2017-05-15 10:07:58 -07:00
Robert Saric
bb68755699 fix for #1191 (extension of Viewer.open() function with initialPage argument) 2017-05-14 15:56:21 +02:00
Ian Gilman
dc70acec55 Merge pull request #1192 from UCLALibrary/timeout-configuration
Enable configuration of ImageJob timeout
2017-05-12 10:28:39 -07:00
Mark Allen Matney, Jr
77da306397 Enable configuration of ImageJob timeout 2017-05-11 21:36:27 -07:00
Ian Gilman
e55c5beb1c Merge pull request #1189 from lastlegion/master
[FIX #1188] added fix for supporting weird filenames that look like JSONs
2017-05-11 10:01:07 -07:00
Ganesh Iyer
ce1360f5cb using try/catch $.parseJSON to check for JSONs 2017-05-10 17:51:59 -04:00
Ganesh Iyer
2a251b219a added fix for supporting weird filenames that look like JSONs 2017-05-09 14:55:23 -04:00
Sean Nichols
6fdf81f266 Ignore falsy header values and improve ajaxHeaders documentation 2017-05-05 15:37:33 -04:00
Sean Nichols
15fe35a589 Improve documentation and option/argument names 2017-05-05 15:37:33 -04:00
Sean Nichols
ddab768696 Add options for loading tiles via AJAX and custom AJAX request headers. 2017-05-05 15:37:33 -04:00
superbland
bb229c24d3 Only apply constraints during an actual drag 2017-04-24 22:47:40 +01:00
jonw-cogapp
ab6cdf102e prevent unnecessary panBy on canvas-drag in viewer 2017-04-21 18:19:11 +01:00
Ian Gilman
2f7ebc2d67 Merge pull request #1149 from sickrandir/preventDefault-canvas-drag
Manage preventDefaultAction flag inside the canvas-drag viewer event
2017-04-21 09:51:24 -07:00
kinto
741745433d manage preventDefaultAction flag inside the canvas-drag viewer event. Trigger the canvas-drag event before default drag happens on the viewer 2017-03-15 09:51:44 +01:00
kinto
bc5e235822 Add comment instructions for using preventDefaultAction parameter in canvas-click event 2017-03-14 19:23:07 +01:00
kinto
d5031835da manage preventDefaultAction flag inside the canvas-click viewer event. Trigger the canvas-click event before default click zoom happens on the viewer 2017-03-14 16:08:52 +01:00
Antoine Vandecreme
de25b68b43 Add eslint and hound 2017-01-16 21:41:07 +01:00
Antoine Vandecreme
33332bf774 Set rotation around center and fix typo. 2016-08-28 13:39:26 +02:00
Antoine Vandecreme
9e69462405 Merge branch 'master' of https://github.com/openseadragon/openseadragon 2016-08-21 13:16:38 +02:00
Antoine Vandecreme
a9f5e7ec73 Add unit test and fix code review comments. 2016-08-21 12:54:33 +02:00
Antoine Vandecreme
65b59c08d6 First draft of tiled image rotation. 2016-08-17 15:43:08 +02:00
Sebastian Öberg
77726a684f Use control anchor configuration for custom toolbar also 2016-08-15 13:54:10 +02:00
Rick Burgstaler
dde379ba12 Make tileSources option smarter about detecting when a json string or xml string has been passed in
The tileSources option was only using a test looking for the presence of a "{", "[", or "<" character to determine if a json string or xml string was passed in.  It is possible for a url to contain one of these characters as well which would break using the url as a tileSources parameter.  The following is an example of a breaking url:
http://myurl.org/{25fb14f0-a839-4c4d-8c97-dd1d67b2cb35}/MyImage.xml

This patch resolves this issue.
2016-08-10 14:30:10 -05:00
Larissa Smith
4ccabe78de Passed options.crossOriginPolicy into getTileSource. Also changed checks on crossOriginPolicy to compare to undefined, and added tests for the addTiledImage crossOriginPolicy api. 2016-07-28 09:35:43 -06:00
Larissa Smith
1e0ddcedc1 Added an option to addTiledImage to change the crossOriginPolicy. addTiledImage will also check the tileSource for crossOriginPolicy. 2016-07-21 10:26:02 -06:00
plougsgaard
b3a10aca3b Introduce variable iOSDevice that disables 8c4fcc9 when running on an iOS device. 2016-06-17 16:37:30 +02:00
A
033b650c29 Fix #946
Fix for https://github.com/openseadragon/openseadragon/issues/946
2016-05-26 13:24:03 -04:00
Ian Gilman
ebf7cbf918 Merge pull request #940 from avandecreme/fullpage
Enforce html element width and height to 100% when going full page.
2016-05-17 09:51:08 -07:00
Antoine Vandecreme
32f993f862 Enforce html element width and height to 100% when going full page. 2016-05-16 13:08:17 -04:00
Ian Gilman
ea32e1b090 Merge pull request #935 from leesei/master
feat(navigator): add option autoFade
2016-05-16 09:40:23 -07:00
Antoine Vandecreme
1014d5767c Fix resize handling. 2016-05-12 19:23:09 -04:00
leesei
7ea8733e5b feat(navigator): add option autoFade 2016-05-07 17:16:59 +08:00
Antoine Vandecreme
521e020b9a Viewport getBounds and fitBounds methods now take rotation into account. Fix #924 2016-05-04 22:26:33 -04:00
Antoine Vandecreme
55e0811294 Merge remote-tracking branch 'upstream/master' into doc 2016-04-10 18:37:11 -04:00
Antoine Vandecreme
4fa7ed1590 Adapt doc to new version of JSDoc. 2016-04-09 10:15:02 -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
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
Ian Gilman
430804ef16 Merge pull request #888 from avandecreme/fit-in-bounds
Add TiledImage.fitInBounds method.
2016-03-24 09:47:15 -07:00
Antoine Vandecreme
3cacc8edcf Add fitBounds option to TiledImage constructor. 2016-03-22 16:41:28 -04:00
Antoine Vandecreme
9c461824b3 Update OpenSeadragon.Placement to be serializable. 2016-03-22 15:50:48 -04:00
Ian Gilman
55cf2bd6b9 Merge pull request #884 from avandecreme/master
Fix flick gesture with rotation. Fix #869
2016-03-22 09:18:18 -07:00
Antoine Vandecreme
2386900e29 Fix drag with panHorizontal/panVertical set to false. 2016-03-20 11:01:26 -04:00
Antoine Vandecreme
2740792df3 Fix flick gesture with rotation. Fix #869 2016-03-20 10:04:23 -04:00
Ian Gilman
66f99a1d39 Really no tabIndex if you pass "". 2016-03-08 09:58:50 -08:00
Grant Echols
a54d896a45 Added note about locations being viewport relative for overlays. 2016-03-04 11:26:53 -07:00