Commit Graph

99 Commits

Author SHA1 Message Date
Aiosa
3782ea2284
Merge branch 'openseadragon:master' into master 2021-12-08 09:59:05 +01:00
Aiosa
a11b5ce602 Support for POST data in the ajax requests. 2021-12-08 09:54:14 +01:00
Sanghoon Kim
7686812336 Fix maxLevel typo 2021-12-01 10:01:18 +09:00
Sanghoon Kim
24d5d98548 Add the description of setMaxLevel 2021-11-30 13:23:30 +09:00
Sanghoon Kim
f8c97143e8 Modify the TileSource constructor and _memoizeLevelScale 2021-11-30 11:40:06 +09:00
Sanghoon Kim
de39597c14 Add setMaxLevel to initialize getLevelScale memoization 2021-11-23 16:58:00 +09:00
Sanghoon Kim
91793ce752 Revert "Merge pull request #2059 from kim-sanghoon/fix/getLevelScale"
This reverts commit 1454ac791a, reversing
changes made to fcca75c57e.
2021-11-23 16:22:41 +09:00
Sanghoon Kim
63a4f87716 Fix getLevelScale to use image dimensions 2021-11-09 21:56:01 +09:00
ronnymikalsen
47802c0bd7 refactor: use pixelDensityRatio in getPixelRatio() 2021-03-26 12:08:50 +01:00
Mark Salsbery
f20b7e738c Stricter linting fixes part 1 2020-06-30 10:25:38 -07:00
Mark Salsbery
c4351f64e8 stricter linting 2020-06-25 16:01:14 -07:00
Stefan Weil
3227a152eb Add missing space between sentences in error message
This fixes an issue reported by LGTM:

    This string appears to be missing a space after 'deprecated.'.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-28 22:02:45 +01: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
Ian Gilman
24be785bbd Updated to latest packages (and fixed lint errors) 2018-05-11 10:53:16 -07:00
Ian Gilman
ceb828dd06
Merge pull request #1429 from openseadragon/ig-square
Fixed issue with square tile code on IE
2018-04-25 09:35:11 -07:00
Ian Gilman
b63c77fdb9
Merge pull request #1370 from avandecreme/tile_at_point
Fix getTileAtPoint epsilon precision
2018-04-16 09:44:25 -07:00
Ian Gilman
02a397638c Fixed test errors 2018-04-02 11:09:23 -07:00
Ian Gilman
7ba516b30a Fixed issue with square tile code on IE 2018-03-27 09:48:18 -07:00
Ian Gilman
075a37ce8c Now supporting square edge tiles with padding 2018-03-21 14:07:00 -07:00
Antoine Vandecreme
517e1feae8 Fix getTileAtPoint epsilon precision
Fix #1362
2017-12-24 10:57:57 +01:00
Antoine Vandecreme
cd4c4d38ed Fix getTileAtPoint floating point computation error 2017-08-06 15:00:50 +02:00
Ian Gilman
fd502dbdab Changelog for #1241 2017-07-11 11:53:41 -07:00
Robert Saric
57103a5dd4 fix for #1209 (Reference strip using "thumbs") additional changes 2017-07-10 20:19:13 +02:00
Ian Gilman
82b1b3e599 getClosestLevel refinement 2017-05-19 11:12:01 -07:00
Ian Gilman
1a60238c61 Improved best first level calculation 2017-05-16 13:49:59 -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
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
Daniel Berthereau
e6ae1ac4e1 Typo. 2017-03-13 00:00:00 +01:00
Antoine Vandecreme
e65de72e3a Fix simple image being drawn twice. Fix #1113 2017-02-04 15:37:50 +01:00
Antoine Vandecreme
de25b68b43 Add eslint and hound 2017-01-16 21:41:07 +01:00
Sean Nichols
e2c43d64db Fix incorrect call to getTileWidth and getTileHeight in getTileAtPoint 2016-11-08 16:20:12 -05:00
Antoine Vandecreme
6370a6bafa Fix tests 2016-11-05 16:41:09 +01:00
Antoine Vandecreme
10dd723637 Remove reliance on getTileAtPoint for wrapping 2016-11-01 21:43:50 +01:00
Antoine Vandecreme
a9b60057ea Fix wrapping. 2016-10-23 22:25:16 +02:00
Antoine Vandecreme
cca6b47fc0 Fix TileSource.getTileAtPoint 2016-10-09 14:05:22 +02:00
VoidVolker
ecebc3305f [=] Dropped useless calculations 2016-07-29 12:41:25 +03:00
VoidVolker
2bcc1aa0f4 [=] Wrap fix for #555
1. Fix for horizontal and vertical wrap. Problem was in
`getTileAtPoint`: it was working only for points inside viewer - thanks
to @avandecreme for finding this.
2. Was small bug in not rendering top row and left column - after scroll
there are empty space and need some time for rendering.
2016-07-29 01:33:48 +03:00
Antoine Vandecreme
3775a877e2 Remove trailing spaces. 2016-04-21 10:02:02 -04:00
Antoine Vandecreme
5ebf84a580 Fix typo in doc. 2016-04-09 10:14:09 -04:00
Antoine Vandecreme
a12b74ec17 Fix @lends for new JSDoc. Fix polymorphic functions doc (#824). 2016-01-24 16:09:18 -05:00
Larissa Smith
418e21e9f4 Fix for issue with tiledImages loading tiles at every level instead of just the best level: using && instead of || means the tiledImage's longest side is used for comparison instead of the shortest side. 2015-09-15 15:58:34 -06:00
Antoine Vandecreme
4bb80067f7 Avoid using eval when JSON.parse is available. 2015-07-30 16:21:59 -04:00
Conner Wingard
e1e345a4bc Clean up TileSource object when provided tileWidth/tileHeight for clarity. Add basic TileSource tests. 2015-07-14 14:49:52 -04:00
Conner Wingard
d11c4fe107 Remove TileSource.tileSize. Convert IIIFTileSource to override TileSource.getTileWidth and TileSource.getTileHeight. 2015-06-30 17:56:06 -04:00
Conner Wingard
827fe4e836 Deprecate TileSource.getTileSize(), add TileSource.getTileWidth() and TileSource.getTileHeight() 2015-06-29 13:42:09 -04:00
Conner Wingard
85241b1249 Fix for maintaining IIIFTileSource support while implementing #670. Change docs to reflect that TileSource.prototype.tileSize is now an OpenSeadragon.Point 2015-06-26 16:26:09 -04:00
Conner Wingard
7e950fda2b Add support for viewing custom tile sources with non-square tiles 2015-06-26 14:17:40 -04:00