Commit Graph

2026 Commits

Author SHA1 Message Date
Tom
f7c12a716b undo extra tabs before ach line introduced automatically by copy-and-pasting code 2024-05-22 18:59:19 -04:00
Tom
be30b429f8 remove unused code paths 2024-05-22 18:54:29 -04:00
Tom
3f03bd6e20 swap logic of haveDrawn and drawLevel within _updateTile 2024-05-22 17:36:16 -04:00
Tom
9ef1c5952e revert swapping order of arguments in _updateTile call to fix behavior of canvas drawer 2024-05-21 16:33:48 -04:00
Tom
5be44521b5 Fix sorting logic for best tiles to load 2024-05-21 04:30:17 -04:00
frameflare
0ba2f75213 Signed-off-by: frameflare <yangzenghua@outlook.com>
chore: fix some comments

Signed-off-by: frameflare <yangzenghua@outlook.com>
2024-04-07 10:50:24 +08:00
eug-L
4451131999 update flags for setMaxZoomPixelRatio 2024-04-05 12:47:15 +08:00
eug-L
b0926b3e69 Getter & setter for Viewport.maxZoomPixelRatio 2024-04-04 16:02:09 +08:00
eug-L
5990e5649b update error message for Viewport.imageToViewportZoom 2024-04-03 23:06:42 +08:00
Ian Gilman
262d04c6c6
Merge pull request #2492 from pearcetm/fix-webgl-tilepadding
Make WebGLDrawer deal with tiles with padding
2024-03-07 09:29:19 -08:00
Tom
029a40aa21 deal with tiles that have padding 2024-03-05 15:39:54 -05:00
Tom
3e04c8854e make navigator.update's parameter optional, default to navigator.viewer.viewport 2024-03-05 13:01:42 -05:00
Tom
2cb1835533 fix docs 2024-03-04 21:32:14 -05:00
Tom
c177246675 fix #2490 2024-03-04 21:28:12 -05:00
Tom
e4fd005fb0 Mark TiledImage as needing an update when position, scale, or rotation are set with immediately=true 2024-02-29 16:44:09 -05:00
Ian Gilman
01e70ab7d8
Merge pull request #2472 from pearcetm/canvas-fallback
In webgl drawer, fall back to canvas drawer for tiled images with tainted data
2024-02-27 09:33:06 -08:00
Tom
b6501a3786 fix typo in docs. change to options object for requestDrawer API 2024-02-22 13:30:05 -05:00
Tom
5df791fc82 support viewport flipping for clip and cropping polygons in webglviewer 2024-02-21 18:12:22 -05:00
Tom
ae5f08b9bd call _setClip for test spyOnce 2024-02-21 17:53:23 -05:00
Tom
a0bcbc4d21 fix clip behavior with webgl drawer 2024-02-21 17:49:46 -05:00
Tom
c6e3e06194 Merge branch 'master' into canvas-fallback 2024-02-21 16:13:36 -05:00
Tom
99c35aa3cb consolidate drawer creation into viewer api. add drawer-error event 2024-02-21 16:01:18 -05:00
Tom
02898cfc17 clean up bound event handlers in webgldrawer.destroy 2024-02-12 18:05:33 -05:00
Ian Gilman
4c331a2000
Merge pull request #2468 from thec0keman/fix-this-scoping
Fix `this` scoping
2024-02-12 09:52:01 -08:00
Tom
6e4914ada3 better cleanup for html drawer in destroy 2024-02-12 09:32:17 -05:00
Tom
8967e2bb03 support hot-swapping drawers with viewer.setDrawer() 2024-02-12 09:30:26 -05:00
Tom
0a154a3b21 In webgl drawer, fall back to canvas drawer for tiled images with tainted data 2024-02-11 11:51:38 -05:00
Tom
3f21f84df4 clean up code added for testing 2024-02-09 18:16:30 -05:00
Tom
c734de531f fix placeholder positioning for canvas drawer 2024-02-09 17:18:54 -05:00
Tom
d4e82d374e account for viewport rotation in addition to tiledImage rotation 2024-02-09 15:19:40 -05:00
Tom
5b2c6d7ed9 add support for placeholderFillStyle to webgl drawer. fix spring logic to avoid getting stuck updating due to floating point math. update tilesource-swap demo. 2024-02-09 15:06:52 -05:00
John Ratcliff
8f483a3ba0 Fix this scoping 2024-02-09 11:23:38 -08:00
Ian Gilman
e3c3634266
Merge pull request #2466 from pearcetm/fix-docs
fix jsdoc formatting for drawer classes
2024-02-02 09:26:43 -08:00
Tom
3ced918fb4 fix jsdoc formatting for drawer classes 2024-02-01 14:29:10 -05:00
Tom
23e50b6038 fix jsdoc formatting for drawer classes 2024-02-01 14:24:25 -05:00
Ian Gilman
2e0868023a
Merge pull request #2464 from jonasengelmann/fix/touch-gesture-dragToPan
Fix dragToPan when flickEnabled is activated
2024-02-01 09:38:28 -08:00
jonasengelmann
e08274e2b0 fix dragToPan when flickEnabled is activated #2463 2024-02-01 18:01:21 +01:00
Tom
68623ace26 skip drawing zero-opacity images for webgl drawer. remove checks for preload in html and canvas drawers since that is done in tiledimage. 2024-02-01 10:46:45 -05:00
Tom
921171ed2b move logic about zero opacity case into getDrawArea 2024-02-01 08:47:03 -05:00
Tom
84a55968ee Allow preloading of tiles for zero opacity tiled images 2024-01-31 15:40:47 -05:00
Tom
1b44de3b68 Stop tiles from loading if opacity of tiled image is 0 2024-01-31 15:37:09 -05:00
Ian Gilman
52fc10ffa2
Merge pull request #2310 from pearcetm/rotation-seams
Refactor drawing code, add WebGL drawer, and enable plugin renderers
2024-01-31 09:38:56 -08:00
Tom
59519e0e96 fix docs 2024-01-30 13:14:54 -05:00
Tom
d490592b99 expand event validation logic 2024-01-29 13:12:01 -05:00
Tom
024cee42f5 make event handler validation private 2024-01-29 13:01:44 -05:00
Tom
a55071f67b fix documentation for rejectEventHandler 2024-01-29 11:25:36 -05:00
Tom
2add108539 reject adding handlers for certain event names 2024-01-29 10:39:55 -05:00
Tom
c0104c7480 add validation at time of binding event handlers 2024-01-26 12:23:02 -05:00
Richard Benjamin Allen
362a060512 Fix, change set supported format example 2024-01-25 16:47:51 +00:00
Tom
d2376b571f clean up comments and error logging 2024-01-24 13:02:50 -05:00