Commit Graph

214 Commits

Author SHA1 Message Date
Jose
d5b62aabcd Patch to fix issue #697, also contains improvements when panning under certain constrains 2017-02-19 17:36:53 +01:00
Antoine Vandecreme
0685d8a3a4 Use outline instead of border in overlay demo. 2016-04-01 09:19:40 -04:00
Antoine Vandecreme
577327a629 Change overlays to now always having Point location. 2016-03-30 15:12:50 -04:00
Antoine Vandecreme
3e3ce188b1 Add scaleWidth and scaleHeight options to overlays. 2016-03-25 16:49:58 -04:00
Tom Crane
f7c9585003 Support tile-less IIIF as per LegacyTileSource: Fix #737 2016-01-09 14:04:21 +00:00
Ian Gilman
0d43f7e01a Fixing white space 2016-01-06 17:25:58 -08:00
Antoine Vandecreme
52f8ad6aa2 Fix coordinates conversion with rotation. 2015-12-11 19:07:23 -05:00
Grant Echols
9e142313d6 Added small checks around code to make m2 sample work locally. 2015-08-11 09:24:35 -06:00
Ian Gilman
e93a0862bd Added demo for TileSource swapping 2015-07-03 10:19:10 -07:00
Rick Smith
cdf1942202 Create demo for creating an overlay 2015-06-23 16:02:46 -06:00
Ian Gilman
6ffc81760c Merge pull request #662 from avandecreme/coordinates
Add coordinates conversion methods to TiledImage.
2015-06-19 13:13:12 -07:00
Antoine Vandecreme
fa868a039d Fix editorconfig config. 2015-06-11 10:49:32 -04:00
Antoine Vandecreme
aa021d87c0 Add coordinates conversion methods to TiledImage. 2015-06-02 16:41:37 -04:00
Antoine Vandecreme
f5ede70018 Fix coordinates demo. 2015-05-09 12:49:32 -04:00
Ian Gilman
823e9c3d22 Non-Harvard version of M2 clip demo 2015-03-20 10:17:27 -07:00
Ian Gilman
e1d36ffb14 First version of clip feature 2015-03-18 10:03:44 -07:00
Ian Gilman
19ade7d76d Improved zoom and pan constraints 2015-03-11 15:41:36 -07:00
Ian Gilman
815cbd6019 Detail on/off button (m2) 2015-03-09 15:32:38 -07:00
Ian Gilman
2cd54648f0 Demos of alternates and details in non-Harvard version (m2) 2015-02-16 10:45:46 -08:00
Ian Gilman
70e08a02ce Positioning alternates better (m2) 2015-02-16 10:18:59 -08:00
Ian Gilman
725bc36c4e Detail view (m2) 2015-02-13 15:55:57 -08:00
Ian Gilman
de18b3dc63 Refactoring (m2) 2015-02-13 14:32:17 -08:00
Ian Gilman
ae7adad5cf Alternate images (m2) 2015-02-10 14:02:41 -08:00
Ian Gilman
5443eedebc Fixed positioning issue when going to book mode with tall images (m2) 2015-02-10 11:53:56 -08:00
Ian Gilman
f531a18531 Fixed mouse positioning (m2) 2015-02-10 11:42:36 -08:00
Ian Gilman
5161793948 m2 readme 2015-02-04 10:23:24 -08:00
Ian Gilman
80d8d2e96f Prepped m2 demo for merging 2015-02-04 10:18:36 -08:00
Ian Gilman
408a8f6fd3 400+ collection; repeated nexts (m2) 2015-01-23 16:00:58 -08:00
Ian Gilman
a923c3f09c Fixed issues with panning in scroll view (m2) 2015-01-22 11:52:08 -08:00
Ian Gilman
54be2b4b48 Fixed issues with window resizing (m2) 2015-01-20 17:19:20 -08:00
Ian Gilman
ec2e4a4e8f Refactored how scrolling works (m2) 2015-01-20 16:10:24 -08:00
Ian Gilman
adbde4682f Constraining while zooming out (m2) 2015-01-20 11:23:56 -08:00
Ian Gilman
8c9fbafb06 Resize (m2) 2015-01-15 14:32:42 -08:00
Ian Gilman
1da3418cbe Selection and hover for thumbs mode (m2) 2015-01-14 17:09:39 -08:00
Ian Gilman
fe2aa52caf Proper buffer for page and book modes (m2) 2015-01-14 15:09:48 -08:00
Ian Gilman
0c63f35de1 Consistent height for pages (m2) 2015-01-13 16:15:40 -08:00
Ian Gilman
e37564e58c Better constraints for zooming out from corners 2015-01-13 15:49:53 -08:00
Ian Gilman
8f45207820 m2 constraints 2015-01-13 15:33:03 -08:00
Ian Gilman
0429d8fe7f Using real book images (m2) 2015-01-09 15:46:57 -08:00
Ian Gilman
c1d93acb27 Better next/previous support (m2) 2015-01-09 15:11:11 -08:00
Ian Gilman
a470d10f4d * Scroll view: go to current page when entering mode; clamp at first and last (m2) 2015-01-09 14:04:45 -08:00
Ian Gilman
70e461c214 * Correct page height for thumbs (m2) 2015-01-09 13:53:48 -08:00
Ian Gilman
4fa6fea850 Scrollwheel for thumbs (m2) 2015-01-09 11:45:53 -08:00
Ian Gilman
3956e6013a Clicking into thumbnails (m2) 2015-01-08 14:04:31 -08:00
Ian Gilman
c3d9b102c5 First version of m2 POC 2015-01-08 13:22:23 -08:00
Ian Gilman
a7d9f7dcd5 Fixed broken defaultZoomLevel and homeFillsViewer options 2015-01-02 11:44:35 -08:00
Ian Gilman
c6b1efe85d Added pause and "add more" buttons to animation demo 2014-12-19 15:55:24 -08:00
Ian Gilman
c9708399a1 Fixed bug with passing single literal tilesource on construction 2014-12-19 15:32:19 -08:00
Ian Gilman
f1610425bc Navigator now updates when items are moved 2014-12-19 13:57:08 -08:00
Ian Gilman
40d8f84187 Testing 2014-12-12 16:28:02 -08:00
Ian Gilman
d1627f9975 Merge branch 'collections' into ian 2014-12-11 17:10:00 -08:00
Ian Gilman
549ce64238 Using highsmith for animation demo 2014-12-05 11:05:50 -08:00
Ian Gilman
222f942752 Animation demo 2014-12-04 13:36:02 -08:00
Ian Gilman
28b1296105 IE8 fixes for DZI and World.removeItem 2014-12-04 12:00:04 -08:00
Ian Gilman
6b0e44d037 Merge branch 'collections' into ian2
fixed Conflicts:
	test/demo/collections/main.js
2014-12-03 13:37:44 -08:00
Ian Gilman
211127b87b Fixed window resize for navigator with multi-image 2014-12-03 11:13:06 -08:00
Ian Gilman
09e494091e More fixes for tiledImage animation 2014-12-02 13:17:56 -08:00
Ian Gilman
6a7f56d858 tiledImage bounds animation now works 2014-12-02 11:44:02 -08:00
Ian Gilman
7078826be1 Auto-resize now works for multi-image 2014-12-01 16:29:21 -08:00
Ian Gilman
2a5fd0b0f7 Fixed "toImage" converters 2014-11-21 15:18:25 -08:00
Ian Gilman
68fbdc7beb * Overlays appear in the DOM immediately on open or addOverlay (#507) 2014-11-20 15:33:13 -08:00
Ian Gilman
78f65152bc Fixed: overlays were appearing under the canvas 2014-11-20 14:50:07 -08:00
Ian Gilman
632f09caa2 More drawer tests 2014-11-20 14:25:17 -08:00
Ian Gilman
0e31b67ca5 ReferenceStrip fixes 2014-11-17 14:03:14 -08:00
Ian Gilman
4bd4dd5618 Reference strip testing 2014-11-17 13:17:24 -08:00
Ian Gilman
336482cd1c Viewer.open now honors sequence mode 2014-11-17 12:57:49 -08:00
Ian Gilman
1279c6766c More sequence mode work 2014-11-14 17:19:04 -08:00
Ian Gilman
0dd97dbc56 First version of sequence mode 2014-11-14 16:51:02 -08:00
Ian Gilman
c4c17db045 Supporting collectionTileSize and collectionTileMargin 2014-11-12 15:48:38 -08:00
Ian Gilman
56ddf8c9c3 First steps for collection mode 2014-11-11 17:14:48 -08:00
Ian Gilman
3a902a7768 Testing overlays 2014-11-05 16:54:03 -08:00
Ian Gilman
b5a9116a0b Fixed rotation with multiple images 2014-11-05 16:39:35 -08:00
Ian Gilman
8bdc55bd63 Fixed fitVertically and fitHorizontally 2014-11-05 15:57:44 -08:00
Ian Gilman
a9c9478752 Wraparound now works for images of other widths than 1 2014-11-05 15:24:31 -08:00
Ian Gilman
8641279890 Better tile caching for duplicate images 2014-11-05 13:48:27 -08:00
Ian Gilman
31c15aed69 Merge branch 'collections' into ian
fixed Conflicts:
	src/viewer.js
	test/demo/collections/main.js
2014-11-04 09:58:09 -08:00
Ian Gilman
00c2881c64 Fixed test breakages 2014-11-03 17:14:17 -08:00
Ian Gilman
a68be6ac68 You can now open multiple images when creating via OpenSeadragon() 2014-10-29 17:14:46 -07:00
Ian Gilman
95836a6ad1 Major overhaul to Viewer.open() 2014-10-29 16:11:21 -07:00
Ian Gilman
fb6280644a Merge branch 'collections' into margins
fixed Conflicts:
	test/demo/collections/main.js
2014-10-24 15:27:14 -07:00
Ian Gilman
3e1870cde0 Navigator now updates for item index changes and removals 2014-10-24 15:18:32 -07:00
Ian Gilman
46cd2ab800 Fixed issue with top/left margins; cleaned up naming 2014-10-21 17:11:09 -07:00
Ian Gilman
a14bea39aa More margins work 2014-10-17 14:27:24 -07:00
Ian Gilman
2d8652046a First stab at margins 2014-10-16 14:00:07 -07:00
Ian Gilman
e02209092c Navigator now works with multiple images 2014-09-23 16:15:03 -07:00
Ian Gilman
349e6125ea Improved collections demo: gridTest, crossTest 2014-08-26 15:27:55 -07:00
Ian Gilman
08a38a8602 More test fixes. 2014-08-19 15:27:04 -07:00
Ian Gilman
8efad6f3a0 Fixed home/constraints for multi-image. 2014-08-18 16:04:49 -07:00
Ian Gilman
5c7c1d5b6c Moved Viewport.goHome to Viewer.goHome. 2014-08-12 16:44:53 -07:00
Ian Gilman
48603ba260 Drawer creation now supports width or height rather than scale. 2014-07-31 15:54:20 -07:00
Ian Gilman
f97202833f Merge branch 'master' into ian
fixed Conflicts:
	src/viewport.js
2014-07-24 09:40:43 -07:00
iangilman
1e4288f770 Merge pull request #423 from henri-astre-msft/fitBoundsWithConstraints
add fitBoundsWithConstraints() to the viewport.
2014-07-24 09:28:53 -07:00
Ian Gilman
a3973a25e7 Added scaling to drawer. 2014-07-22 11:13:22 -07:00
Ian Gilman
ea6ee54136 Added x and y to drawer. 2014-07-17 16:24:28 -07:00
Henri Astre
d39971f80e renaming fitBounds to fitboundswithconstraints
it looks like github for windows is not detecting filename changes when
a letter change from upper to lower case.
2014-06-23 16:16:38 -07:00
Henri Astre
318071d3ce Cleanup for PR comments
- raise 'constrain' event inside applyBoundaryConstraints
- fix demo title/filename
- various fixes (default immediately to false + add private for
documentation)
2014-06-23 16:10:01 -07:00
Henri Astre
e7d8cff109 adding demo to show benefit of fitBoundsWithConstraints 2014-06-20 16:18:04 -07:00
Henri Astre
a563bdb658 fix .close() called after .destroy() + spacing 2014-06-18 10:35:23 -07:00
Henri Astre
764fa3e34a Fix memory leak while destroying the viewer. 2014-06-17 17:26:10 -07:00
Antoine Vandecreme
695df873ca Update the source when the base layer change. 2014-01-30 16:59:51 -05:00
Antoine Vandecreme
1c1cd0dc4d Allow base layer reassignment if not in sequence mode. 2014-01-21 19:24:47 -05:00
Antoine Vandecreme
56707bd4f7 Add viewer.getNumberOfLayers method
layers.html test file:
-display 2 layers after opening
-fix order
-add opacity demo
-add rotation demo
2014-01-11 12:52:44 -05:00
Antoine Vandecreme
b542b90590 Fix $.indexOf pollyfill
Add the original options in addLayer events
Add layers demo page
2014-01-05 19:20:45 -05:00
Antoine Vandecreme
3e5a9b52c9 Rollback basic.html and create coordinates.html.
Fix unit tests.
Fix documentation.
2013-10-05 10:21:12 -04:00
Antoine Vandecreme
791ecfae75 Add coordinates conversion methods to viewport. 2013-10-03 17:27:11 -04:00
Chris Adams
d447bd5612 Remove detritus left behind from error handler testing 2013-07-01 12:55:58 -04:00
Chris Adams
630bccad3d Basic demo: set HTML5 doctype
This keeps IE8 out of quirks mode, which breaks things like 
getWindowSize…
2013-06-28 15:44:38 -04:00
iangilman
f412d07237 Merge pull request #121 from houseofyin/issue37-navigator
Issue37 navigator / Issue101 navigator follow-up / Issue102 navigator default
2013-06-13 09:39:27 -07:00
houseofyin
af1f1b64af Removing the navigator demo files now that we have reasonable tests and examples for the navigator 2013-06-11 14:36:39 -04:00
Ian Gilman
29f3d80249 Making the basic demo a little more useful for debugging 2013-06-10 17:23:09 -07:00
houseofyin
9edd6ec131 Updated to turn on the navigator, since the navigator is no longer on my default 2013-06-08 12:03:51 -04:00
Ian Gilman
673f881d52 Minor fixes to basic demo 2013-05-21 11:06:03 -07:00
Ian Gilman
7fc55d8a1f Added a demo of the basic default viewer 2013-05-20 10:44:36 -07:00
houseofyin
cb5b844a74 Cleaned up and moved the demos 2013-04-05 22:28:03 -04:00