Commit Graph

106 Commits

Author SHA1 Message Date
Jirka
2750100d24 Move cache-key generation to TileSource: user might need to override default behaviour in case of non-unique URL's (post data used). 2022-03-29 09:30:25 +02:00
Jirka
68126a82dc Update docs on POST data to reflect more accurately the behaviour.
Fix bug & implement propositions ~ issue #2094.
2022-03-23 10:22:13 +01:00
Ian Gilman
51e3ea7fa0 Changelog for #2072 and minor comment style change 2022-01-21 11:57:14 -08:00
Jirka
63ecaafa51 Update documentation to be more explicit about post data string parameter format. 2022-01-20 18:03:08 +01:00
Jirka
bd6ec09458 Remove warning because loadTilesWithAjax flag is not passed to the TileSource 2022-01-13 10:05:37 +01:00
Jirka
e236ff0ea8 Forgot one 'allowPost' rename 2022-01-12 22:37:59 +01:00
Jirka
aacae1ca3f Reverted .json configuration changes made by npm. Added tests for PUSH functionality, new flag 'allowPost' to explicitly enable POST data, remove (-1) in the URL splitting. 2022-01-12 22:31:13 +01:00
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